UserIndex: display dates on accounts in a more compact way

This commit is contained in:
Alex Gleason
2021-07-14 16:13:53 -05:00
parent 76b05f738a
commit a368ddfee8
8 changed files with 58 additions and 31 deletions

View File

@ -201,6 +201,10 @@
overflow: hidden;
text-decoration: none;
font-size: 14px;
.display-name__name {
display: flex;
}
}
}
@ -502,6 +506,7 @@ a .account__avatar {
.relationship-tag {
color: var(--primary-text-color);
margin-bottom: 4px;
margin-left: 4px;
display: block;
vertical-align: top;
background-color: var(--background-color);
@ -511,6 +516,7 @@ a .account__avatar {
padding: 4px;
border-radius: 4px;
opacity: 0.7;
white-space: nowrap;
&:hover {
opacity: 1;
@ -518,18 +524,14 @@ a .account__avatar {
}
.account__joined-at {
padding: 3px 2px 0 5px;
padding-left: 3px;
font-size: 14px;
display: flex;
white-space: nowrap;
flex-shrink: 0;
color: var(--primary-text-color--faint);
i.fa-calendar {
padding-right: 5px;
}
}
.account--with-date.account--with-relationship {
.account__joined-at {
padding-left: 48px;
}
}

View File

@ -114,7 +114,6 @@
strong,
span {
display: inline-block;
text-overflow: ellipsis;
overflow: hidden;
}
@ -130,7 +129,7 @@
.display-name__account {
display: block;
margin-top: -10px;
margin-top: -5px;
}
}

View File

@ -42,6 +42,10 @@ a.account__display-name {
text-overflow: ellipsis;
white-space: nowrap;
position: relative;
bdi {
min-width: 0;
}
}
.display-name__html {

View File

@ -675,6 +675,7 @@
position: relative;
width: 15px;
height: 15px;
flex-shrink: 0;
&::before {
display: block;