Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
right_sidebar: Improve available space in buddy list.
Karl Stolley5b28684a72a3
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex a11fff5440d..1659a888d9b 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -260,12 +260,15 @@that rely on this value, but not necessarily asapplied to `width:` or `max-width:`. */--left-sidebar-width: min(33.3333%, var(--left-sidebar-max-width));+ --right-sidebar-left-spacing: 5px;/* 50px per icon * 4 icons + 3px space (legacy) = 203px at 20px/1em */--right-column-collapsed-sidebar-width: 10.15em;/* 288px at 14px/1em */--right-column-max-width: 20.57em;--right-column-width: clamp(10em, 50%, var(--right-column-max-width));- --right-sidebar-width: calc(var(--right-column-width) - 10px);+ --right-sidebar-width: calc(+ var(--right-column-width) - var(--right-sidebar-left-spacing)+ );/* The width of the icon is reduced by 2px, to account for 2pxof top and bottom margin needed for hover backgrounds tonot touch the row outline. */@@ -277,7 +280,6 @@--left-sidebar-bottom-scrolling-buffer: calc((var(--legacy-body-line-height-unitless) * 1em) + 0.3571em);- --right-sidebar-left-spacing: 5px;/* Used in both left and right sidebar at the bottom, to allowthe user to scroll past the bottom-most elements a little bit.diff --git a/web/styles/zulip.css b/web/styles/zulip.cssindex 7e2745aa59e..c88269d89f0 100644--- a/web/styles/zulip.css+++ b/web/styles/zulip.css@@ -518,7 +518,7 @@ body.has-overlay-scrollbar {}.column-right .right-sidebar {- padding-left: 5px;+ padding-left: var(--right-sidebar-left-spacing);width: var(--right-sidebar-width);}