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.

stream_settings: Center loading spinner, scale padding with font-size.

evykassirer82ee8ca7cc40
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index c125683071f..3d8b9449c15 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -883,7 +883,7 @@ input.settings_text_input {
.save-discard-widget-button {
border-radius: 5px;
border: 1px solid hsl(0deg 0% 80%);
- padding: 3px 14px 4px 11px;
+ padding: 0.2143em 1em 0.2857em 0.7857em; /* 3px 14px 4px 11px at 14px/em */
text-decoration: none;
color: hsl(0deg 0% 47%);
min-width: 80px;
@@ -919,6 +919,7 @@ input.settings_text_input {
&.saving {
background-color: hsl(156deg 14% 40%);
border-color: hsl(156deg 14% 40%);
+ display: flex;
}
}
@@ -935,8 +936,8 @@ input.settings_text_input {
}
.save-discard-widget-button-loading {
- display: inline-block;
- margin-right: 2px;
+ display: block;
+ margin-right: 0.5em; /* 7px at 14px/em */
}
}
}