Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
right_sidebar: Create variable for left margin.
evykassirer89379c2ca033
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex 4bc6081de7b..b459e3739f1 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -269,6 +269,7 @@--left-sidebar-bottom-scrolling-buffer: calc((var(--legacy-body-line-height-unitless) * 1em) + 0.3571em);+ --right-sidebar-left-spacing: 5px;/* We base sidebar row heights on their line heights.Prominent rows include things like headers (e.g., VIEWS)diff --git a/web/styles/right_sidebar.css b/web/styles/right_sidebar.cssindex 11684f96fc9..336edde7183 100644--- a/web/styles/right_sidebar.css+++ b/web/styles/right_sidebar.css@@ -53,7 +53,7 @@ $user_status_emoji_width: 24px;}.buddy-list-user-link {- margin-left: 5px;+ margin-left: var(--right-sidebar-left-spacing);}}@@ -195,7 +195,7 @@ $user_status_emoji_width: 24px;font-size: 14px;/* Override .empty-list-message !important styling */padding: 0 !important;- margin-left: 5px;+ margin-left: var(--right-sidebar-left-spacing);text-align: left;&:hover {