Merge pull request #5326 from Tainan404/issue-5287

Fix clipped username in chat and user list
This commit is contained in:
Anton Georgiev 2018-04-18 14:41:44 -04:00 committed by GitHub
commit 5caaca53c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 13 deletions

View File

@ -65,32 +65,30 @@
}
}
.name {
.name, .logout {
display: flex;
min-width: 0;
font-weight: 600;
color: $color-heading;
width: 100%;
position: relative;
> span {
@extend %text-elipsis;
padding: .5rem 0;
position: absolute;
top: -.5rem;
width: 100%;
margin-top: -.5rem;
margin-bottom: -.5rem;
}
}
.name {
color: $color-heading;
}
.logout {
display: flex;
min-width: 0;
font-weight: 600;
text-transform: capitalize;
font-style: italic;
> span {
@extend %text-elipsis;
& > span {
text-align: right;
padding-right: .1rem;
}
}
@ -99,7 +97,6 @@
font-weight: 100;
text-transform: lowercase;
font-style: italic;
margin-left: .25rem;
font-size: 90%;
line-height: 1;
align-self: center;

View File

@ -44,6 +44,8 @@
margin-left: $sm-padding-x;
position: relative;
top: $md-padding-y;
padding: .5rem 0;
margin-top: -.5rem;
}
.active {