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: Add variable for field/hint bottom margin.

Karl Stolley8512ea124dd9
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index ee59c3f194e..c19550da1c2 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -173,6 +173,10 @@
*/
--stream-subscriber-list-max-height: 100%;
+ /*
+ Reusable dimensions and offsets.
+ */
+ --margin-bottom-field-description: 3px;
/* Gap between tabs in the tab picker */
--grid-gap-tab-picker: 2px;
diff --git a/web/styles/settings.css b/web/styles/settings.css
index e11fc680600..dc44257f1d2 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -542,7 +542,7 @@ input[type="checkbox"] {
.language_selection_widget {
.title {
- margin-bottom: 3px;
+ margin-bottom: var(--margin-bottom-field-description);
}
.language_selection_button {
@@ -1488,7 +1488,7 @@ $option_title_width: 180px;
gap: 15px;
.jitsi_server_url_custom_input_label {
- margin-bottom: 3px;
+ margin-bottom: var(--margin-bottom-field-description);
}
}
@@ -1597,7 +1597,7 @@ $option_title_width: 180px;
}
.dropdown-title {
- margin-bottom: 3px;
+ margin-bottom: var(--margin-bottom-field-description);
}
.profile-field-choices {