Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
left_sidebar: More carefully generate auto rows for expanded nav.
Karl Stolley9fb6b4d0164b
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.cssindex 765bbf505b1..9443ec0e1db 100644--- a/web/styles/left_sidebar.css+++ b/web/styles/left_sidebar.css@@ -590,7 +590,8 @@ li.active-sub-filter {/* Explicitly ensure parity with the line-heightfor the sake of low-resolution screens, whosefont-rendering and rounding may cause icons- to appear out of alignment. */+ to appear out of alignment. This grid feature should+ only apply in the expanded-navigation view. */grid-auto-rows: var(--line-height-sidebar-row);.left-sidebar-navigation-label-container {@@ -791,6 +792,10 @@ li.top_left_scheduled_messages {filter rows as needed, based on the narrow. */&.showing-condensed-navigation {+ #left-sidebar-navigation-list {+ /* In the condensed state, we don't want to generate+ auto rows, or there will be a footprint where the+ expanded nav sits. */+ grid-auto-rows: unset;/* When the navigation area is condensed, hide allthe rows in the full navigation list... */& .top_left_row {@@ -800,6 +805,9 @@ li.top_left_scheduled_messages {that row should still be shown. */& .top_left_row.active-filter {display: grid;+ /* In the absence of auto rows in the condensed state,+ we set an explicit height on the active filter. */+ height: var(--line-height-sidebar-row);}}}