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.

info_density: Preserve legacy density behind .more-dense-mode.

Karl Stolleyd9fedd745072
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index d88df6c2db8..b6cbe00647a 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -66,6 +66,12 @@
--base-font-size-px: 14px;
--base-line-height-unitless: 1.214;
+ .more-dense-mode {
+ /* The legacy values here are not altered by JavaScript */
+ --base-font-size-px: 14px;
+ --base-line-height-unitless: 1.214;
+ }
+
/*
Message box elements and values.
*/