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.

right_sidebar: Create variable for header left spacing.

evykassirer5d05aad8b56c
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index ee16404e7fc..114a941b86a 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -302,6 +302,7 @@
space created by the padding-left on .right-sidebar,
which separates the right sidebar from the message area. */
--right-sidebar-padding-left: 2px;
+ --right-sidebar-heading-left-spacing: 5px;
--right-sidebar-avatar-width: 2em;
--right-sidebar-avatar-height: var(--right-sidebar-avatar-width);
diff --git a/web/styles/right_sidebar.css b/web/styles/right_sidebar.css
index b582e06fee5..add5c5fae02 100644
--- a/web/styles/right_sidebar.css
+++ b/web/styles/right_sidebar.css
@@ -460,7 +460,7 @@ $user_status_emoji_width: 24px;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
margin-bottom: 10px;
- margin-left: 5px;
+ margin-left: var(--right-sidebar-heading-left-spacing);
/* The scrollbar doesn't extend this high, but we want the three-dot
menus to line up. */
margin-right: var(--width-simplebar-scroll-hover);