Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
left_sidebar: Set tighter line-height on inner topics.
Karl Stolleybb08bf53f7eb
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex 3c33c6b8884..7c2c5717955 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -282,6 +282,16 @@--line-height-sidebar-row-prominent: 1.7142em; /* 24px / 14px em */--line-height-sidebar-row: 1.5714em; /* 22px / 14px em */--line-height-sidebar-row-with-avatars: 1.3571em; /* 19px / 14px em */+ --line-height-sidebar-topic-inner: 1.2em;+ /* This spacing value is to compensate for the+ additional space of the prominent row-height+ from within the inner topic value. */+ --spacing-top-bottom-sidebar-topic-inner: calc(+ (+ var(--line-height-sidebar-row-prominent) -+ var(--line-height-sidebar-topic-inner)+ ) / 2+ );/* Right sidebar */--right-sidebar-padding-right: 8px;diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.cssindex 463297696df..5fece46c127 100644--- a/web/styles/left_sidebar.css+++ b/web/styles/left_sidebar.css@@ -1117,6 +1117,12 @@ li.top_left_scheduled_messages {&:focus {text-decoration: none;}++ .sidebar-topic-name-inner {+ display: block;+ line-height: var(--line-height-sidebar-topic-inner);+ margin: var(--spacing-top-bottom-sidebar-topic-inner) 0;+ }}.sidebar-topic-action-heading {