Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
left_sidebar: Update left sidebar padding for new design.
Karl Stolleya22aa4136741
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex a7ec67d2639..6b3da38cabc 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -218,7 +218,7 @@Our sidebars (and anything that top-alignwith them) go beneath the header.*/- --left-sidebar-collapse-widget-gutter: 10px;+ --left-sidebar-padding-left: 8px;/* The width of the empty space in the sidebar to separatecontent from the edge of the window */--left-sidebar-far-left-gutter-size: 10px;@@ -244,8 +244,10 @@and @ mention indicators by 3px on the right */--left-sidebar-before-unread-count-padding: 3px;--left-sidebar-right-margin: 12px;- /* 287px at 14px/1em */- --left-sidebar-max-width: calc(20.5em - var(--left-sidebar-right-margin));+ /* 289px at 14px/1em */+ --left-sidebar-max-width: calc(+ 20.6429em - var(--left-sidebar-right-margin)+ );/* Sidebar width is 1/3 of the screen at smallersizes, but gets held to the left sidebar's max width.This is very useful for areas in the CSS codebasediff --git a/web/styles/zulip.css b/web/styles/zulip.cssindex b627f2ebd75..51d45456217 100644--- a/web/styles/zulip.css+++ b/web/styles/zulip.css@@ -535,7 +535,7 @@ body.has-overlay-scrollbar {.column-left .left-sidebar {width: var(--left-sidebar-width);- padding-left: var(--left-sidebar-collapse-widget-gutter);+ padding-left: var(--left-sidebar-padding-left);}.column-right .right-sidebar {@@ -553,7 +553,7 @@ body.has-overlay-scrollbar {#compose-content {margin-right: var(--right-sidebar-width);margin-left: calc(- var(--left-sidebar-width) + var(--left-sidebar-collapse-widget-gutter)+ var(--left-sidebar-width) + var(--left-sidebar-padding-left));position: relative;}