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.

banners: Fix banner action buttons vertical alignment.

Sayam Samal5f0a55544bf7
diff --git a/web/styles/banners.css b/web/styles/banners.css
index 817562044fb..b2ce71730ca 100644
--- a/web/styles/banners.css
+++ b/web/styles/banners.css
@@ -40,6 +40,11 @@
grid-area: banner-action-buttons;
display: flex;
gap: 0.5em; /* 8px at 16px/1em */
+ /* This margin is required to align the banner action
+ buttons vertically, since we cannot use flexbox
+ center alignment as we also need to account for the
+ UI when the banner has a muli-line label. */
+ margin: 0.0625em 0; /* 1px at 16px/1em */
margin-left: 0.625em; /* 10px at 16px/1em */
}