mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
left_sidebar: Provide inline-grid layout for DM row status emoji.
This commit is contained in:
@@ -666,6 +666,18 @@ li.top_left_scheduled_messages {
|
||||
line-height: 18px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
/* Use an inline grid to provide a modern layout
|
||||
for status emoji in DM rows, while preserving
|
||||
the expected ellipsis behavior on long usernames
|
||||
or large DM groups.
|
||||
The 16px-tall emoji will also align well
|
||||
vertically with the 18px line-height here. */
|
||||
display: inline-grid;
|
||||
/* Provide a two-column grid, sized to accommodate
|
||||
the content of the conversation list and status
|
||||
emoji, if any. */
|
||||
grid-template-columns: repeat(2, minmax(0, max-content));
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.conversation-partners .status-emoji {
|
||||
|
||||
Reference in New Issue
Block a user