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.

settings: Set explicit margin on bare h3 section titles in settings.

Tim Abbott0fc36f3fc5e6
diff --git a/web/styles/settings.css b/web/styles/settings.css
index 9257374b3b0..3f4ee77add1 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -281,6 +281,17 @@ h3,
}
}
+ /* Bare <h3> section titles in settings panels get their font-size,
+ font-weight, and line-height from the '#settings_page h3' rule
+ further down in this file; previously their margin came from the
+ universal h1-h4 reset in bootstrap.app.css. Set the margin
+ explicitly here so the spacing survives that reset's removal.
+ Specificity matches the existing '.admin-realm-form h3' margin
+ override, which appears later in this file and so still wins. */
+ & h3 {
+ margin: 10px 0;
+ }
+
.table-sticky-headers {
position: sticky;
top: 0;