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.

sidebars: Fix inconsistent margins on sidebar action buttons.

Tanaya Pawar43153fa8fa8a
diff --git a/web/styles/inbox.css b/web/styles/inbox.css
index dc3f2379a0c..9735726e20a 100644
--- a/web/styles/inbox.css
+++ b/web/styles/inbox.css
@@ -459,11 +459,11 @@
.channel-folders-inbox-menu-icon {
display: grid;
/* width excluding left & right margin */
- width: calc(var(--left-sidebar-vdots-width) - 3px);
+ width: calc(var(--left-sidebar-vdots-width) - 4px);
cursor: pointer;
place-items: center center;
border-radius: 3px;
- margin: 2px 2px 2px 1px;
+ margin: 2px;
color: var(--color-vdots-visible);
i.zulip-icon {
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 5e23cdd307a..74b998464f0 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -57,8 +57,7 @@
.add-stream-icon-container {
grid-area: add-channel;
display: grid;
- /* 2px right margin here to match the new topic margin-right */
- margin: 2px 1px 2px 0;
+ margin: 2px;
border-radius: 3px;
color: var(--color-sidebar-action);
diff --git a/web/styles/right_sidebar.css b/web/styles/right_sidebar.css
index d553fba6b2e..e4209a7a2e0 100644
--- a/web/styles/right_sidebar.css
+++ b/web/styles/right_sidebar.css
@@ -534,9 +534,7 @@
/* Push back against default right-sidebar
spacing for better vdots alignment. */
padding: 0;
- /* No left/right margin to maintain vdots
- alignment with user rows below. */
- margin: 2px 0;
+ margin: 2px;
&:hover {
color: var(--color-vdots-hover);