Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
right_sidebar: Set user rows to normalized em-based line-height.
Karl Stolley74800ba69a87
diff --git a/web/styles/right_sidebar.css b/web/styles/right_sidebar.cssindex 314d7766621..daa23c02841 100644--- a/web/styles/right_sidebar.css+++ b/web/styles/right_sidebar.css@@ -60,6 +60,7 @@ $user_status_emoji_width: 24px;margin-bottom: 0;overflow-x: hidden;list-style-position: inside; /* Draw the bullets inside our box */+ line-height: var(--line-height-sidebar-row);& li {overflow: hidden;@@ -67,16 +68,10 @@ $user_status_emoji_width: 24px;text-overflow: ellipsis;list-style-type: none;border-radius: 4px;- padding-top: 1px;- padding-bottom: 2px;+ padding: 0;.user-list-sidebar-menu-icon {- position: absolute;- top: 1px;- right: 0;- font-size: 1em;display: none;- text-align: center;padding: 0 6px;& i {@@ -125,6 +120,10 @@ $user_status_emoji_width: 24px;height: 8px;margin: 0 5px;display: block;+ /* This is a temporary adjustment until+ the right-sidebar rows are rewritten+ with CSS Grid. */+ top: calc(var(--line-height-sidebar-row) / 4);}.empty-list-message {@@ -265,7 +264,9 @@ $user_status_emoji_width: 24px;}& span.status-text:not(:empty) {- margin-top: -3px;+ /* Cinch up the status text by one quarter of the+ sidebar row's line-height. */+ margin-top: calc((var(--line-height-sidebar-row) / 4) * -1);}.unread_count {