left sidebar: Fix clipping of private message users with "g" in name.

This fixes an issue where users whose names had a "g" in them would
have the "g" clipped in the "private messages" section in the left sidebar.

We avoid a change in the effective visible line-height by shrinking
the margin.
This commit is contained in:
Tim Abbott
2018-04-20 11:28:18 -07:00
parent c16b252699
commit ca221da997

View File

@@ -204,7 +204,6 @@ li.active-sub-filter {
.conversation-partners,
.topic-name {
display: block;
line-height: 1.1;
width: calc(100% - 5px);
white-space: nowrap;
overflow: hidden;
@@ -212,6 +211,11 @@ li.active-sub-filter {
padding-right: 2px;
}
.topic-name {
/* TODO: We should figure out how to remove this without changing the spacing */
line-height: 1.1;
}
.left-sidebar li a.topic-name:hover {
text-decoration: underline;
}
@@ -368,7 +372,7 @@ li.expanded_private_message {
}
li.expanded_private_message a {
margin: 2px 0px;
margin: 1px 0px;
}
.show-all-streams a {