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.

popovers: Decrease width of theme switcher in spectators menu.

Sahil Batra63ef84d9a3ec
diff --git a/web/styles/popovers.css b/web/styles/popovers.css
index 189dd25299d..995bf7156b6 100644
--- a/web/styles/popovers.css
+++ b/web/styles/popovers.css
@@ -1445,6 +1445,15 @@ ul.popover-group-menu-member-list {
color: var(--color-gear-menu-blue-text);
}
}
+
+ .theme-switcher {
+ /* Left and right margins are set to match the alignment with
+ other items in the menu. Other elements have space of 0.6666em
+ on both sides, but they have font size set to 1em and theme
+ switcher has font size set to 1.0666em. So, we need space of
+ 0.6666/1.0666 em on each side. */
+ margin: 0 0.625em;
+ }
}
ul.popover-menu-list {