mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 00:23:49 +00:00
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:
@@ -204,7 +204,6 @@ li.active-sub-filter {
|
|||||||
.conversation-partners,
|
.conversation-partners,
|
||||||
.topic-name {
|
.topic-name {
|
||||||
display: block;
|
display: block;
|
||||||
line-height: 1.1;
|
|
||||||
width: calc(100% - 5px);
|
width: calc(100% - 5px);
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -212,6 +211,11 @@ li.active-sub-filter {
|
|||||||
padding-right: 2px;
|
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 {
|
.left-sidebar li a.topic-name:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
@@ -368,7 +372,7 @@ li.expanded_private_message {
|
|||||||
}
|
}
|
||||||
|
|
||||||
li.expanded_private_message a {
|
li.expanded_private_message a {
|
||||||
margin: 2px 0px;
|
margin: 1px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.show-all-streams a {
|
.show-all-streams a {
|
||||||
|
|||||||
Reference in New Issue
Block a user