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: Update `max-width` of popovers to scale UI with font size.

Sayam Samal6a6dd2543c4f
diff --git a/web/styles/popovers.css b/web/styles/popovers.css
index 8dab6be20fa..159b23913ce 100644
--- a/web/styles/popovers.css
+++ b/web/styles/popovers.css
@@ -1248,7 +1248,8 @@ ul.popover-group-menu-member-list {
}
#message-actions-menu-dropdown {
- --popover-menu-max-width: 350px;
+ /* 350px at 15px/1em */
+ --popover-menu-max-width: 23.3333em;
.simplebar-content {
min-width: var(--message-actions-popover-min-width);