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: Add minor lefthand padding called for by Vlad's design.

Karl Stolleyc4dfa7890ef7
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index bd0922de19b..8857f38dbcf 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -273,6 +273,10 @@
/* Right sidebar */
--right-sidebar-padding-right: 8px;
+ /* Vlad's design adds 2px of extra padding beyond the
+ space created by the padding-left on .right-sidebar,
+ which separates the right sidebar from the message area. */
+ --right-sidebar-padding-left: 2px;
/* Tippy popover related values */
--navbar-popover-menu-min-width: 230px;
diff --git a/web/styles/right_sidebar.css b/web/styles/right_sidebar.css
index 3f500d7338d..e221a0784ed 100644
--- a/web/styles/right_sidebar.css
+++ b/web/styles/right_sidebar.css
@@ -9,6 +9,7 @@ $user_status_emoji_width: 24px;
.right-sidebar-items {
padding-right: var(--right-sidebar-padding-right);
+ padding-left: var(--right-sidebar-padding-left);
}
.right-sidebar-title {