Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
informational_overlay: Constrain to variablized width.
Karl Stolley270ba008d914
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex 5c972633370..1923c502a8e 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -193,6 +193,10 @@--subscriptions-overlay-display-type-height: 44px;/* .settings-sticky-footer */--subscriptions-overlay-sticky-footer-height: 60px;+ /* Informational overlay */+ /* Because zoom breaks at 525px perhaps due to rounding errors, we add a+ trivial amount of width so the overlay doesn't break. */+ --informational-overlay-max-width: 550px;/*Maximum height of the compose box when it is not in expanded state. Thisdiff --git a/web/styles/informational_overlays.css b/web/styles/informational_overlays.cssindex cf1b5ba4014..092b2964780 100644--- a/web/styles/informational_overlays.css+++ b/web/styles/informational_overlays.css@@ -1,8 +1,6 @@.informational-overlays {.overlay-content {- /* because zoom breaks at 525px perhaps due to rounding errors, so add a- trivial amount of width so it doesn't break. */- width: 550px;+ width: var(--informational-overlay-max-width);margin: 0 auto;position: relative;top: calc((30vh - 50px) / 2);@@ -119,6 +117,8 @@.informational-overlays {.overlay-content {width: calc(100% - 20px);+ /* Constrain to same width as in larger viewports. */+ max-width: var(--informational-overlay-max-width);}.tab-switcher {