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: Remove redundant display declarations on headings.

Sahil Batra49a8e651bf5f
diff --git a/web/styles/settings.css b/web/styles/settings.css
index 5376adf769b..8cf44b1a0a1 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -3,7 +3,6 @@ label {
}
label,
-h4,
h3,
/* We need settings-section-title here because some legacy settings
widgets use a <div> with this class for their heading. */
@@ -555,18 +554,8 @@ input[type="checkbox"] {
margin-bottom: 0;
}
-.admin-realm-form {
- .subsection-header h3 {
- display: inline;
- }
-}
-
.preferences-settings-form,
.notification-settings-form {
- .subsection-header h3 {
- display: inline-block;
- }
-
.tip {
width: fit-content;
margin-top: 0;
@@ -2268,10 +2257,6 @@ label.preferences-radio-choice-label {
align-items: center;
justify-content: space-between;
- & h3 {
- display: inline-block;
- }
-
.user_filters,
.bot-filters {
display: flex;
diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css
index 409d48147a5..cd32cfabbaf 100644
--- a/web/styles/subscriptions.css
+++ b/web/styles/subscriptions.css
@@ -134,7 +134,6 @@
/* TODO: Unify with settings.css definition */
h3.stream_setting_subsection_title,
h3.user_group_setting_subsection_title {
- display: inline-block;
font-size: 1.5em;
font-weight: normal;
line-height: 1.5;
@@ -436,7 +435,6 @@ h3.user_group_setting_subsection_title {
font-weight: normal;
line-height: 1.5;
margin: 10px 0;
- display: inline;
}
}