Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

left_sidebar: Set navigation area rows to em-based line-height.

Karl Stolleyd8a73c863777
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 9eb2a9986a0..81beafc1375 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -605,6 +605,7 @@ li.active-sub-filter {
named grid area. */
display: grid;
grid-template-areas: "selected-home-view";
+ line-height: var(--line-height-sidebar-row-prominent);
.left-sidebar-navigation-label-container {
.left-sidebar-navigation-label {
@@ -679,20 +680,6 @@ li.top_left_scheduled_messages {
children. Same template areas, different
column widths. */
grid-template-columns: 0 22px minmax(0, 1fr) max-content 0 0;
- /* This is a legacy value, from a former
- 1px of top padding on top_left_row plus
- an inner 1px top margin on `<a>` elements.
-
- These are added here, rather than on the label
- container, to keep all hovered/highlighted areas
- clickable.
-
- This complicates true centering within a
- row highlight. It might be better to make
- these both 2px.
- */
- padding-top: 2px;
- padding-bottom: 1px;
.filter-icon {
grid-area: starting-anchor-element;