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: Fix alert notification indicator styling in settings.

Sayam Samalb43d3dc1d445
diff --git a/web/styles/settings.css b/web/styles/settings.css
index b42906ac959..6f50d45c697 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -255,23 +255,12 @@ h3,
font-size: 0.8571em; /* 12px at 14px/em */
font-weight: 400;
vertical-align: middle;
- line-height: 1.6667em; /* 20px at 12px/em */
+ line-height: inherit;
display: inline-block;
float: none;
margin-top: 9px;
}
- /* Don't apply these styling to the loading indicator inside the
- action buttons, as the required CSS for them is already defined
- in buttons.css */
- .loading_indicator_spinner:not(.action-button .loading_indicator_spinner) {
- width: 30%;
- height: 1.4286em; /* 20px at 14px/em */
- margin-top: 7px;
- vertical-align: middle;
- display: inline-block;
- }
-
.inline {
display: inline !important;
}
@@ -601,8 +590,6 @@ input[type="checkbox"] {
overflow-wrap: anywhere;
background-color: transparent;
border-radius: 4px;
- margin-top: 14px;
- margin-left: 10px;
color: hsl(156deg 30% 50%);
padding: 3px 10px;
@@ -639,8 +626,6 @@ input[type="checkbox"] {
& img {
margin-right: 6px;
- vertical-align: middle;
- margin-top: -2px;
}
.settings-save-checkmark {
@@ -2133,8 +2118,7 @@ label.preferences-radio-choice-label {
}
.alert-notification {
- margin-top: auto;
- margin-bottom: 12px;
+ margin-left: 10px;
margin-right: auto;
}
diff --git a/web/templates/settings/account_settings.hbs b/web/templates/settings/account_settings.hbs
index 041f4a47c86..a5a3d424171 100644
--- a/web/templates/settings/account_settings.hbs
+++ b/web/templates/settings/account_settings.hbs
@@ -91,8 +91,10 @@
</div>
<div id="privacy_settings_box">
- <h3 class="inline-block">{{t "Privacy" }}</h3>
- <div class="alert-notification privacy-setting-status"></div>
+ <div class="subsection-header">
+ <h3 class="inline-block">{{t "Privacy" }}</h3>
+ <div class="alert-notification privacy-setting-status"></div>
+ </div>
<div class="input-group">
{{> settings_checkbox
setting_name="send_private_typing_notifications"