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.

app_variable: Refactor a `settings-nested-checkbox-vertical-margin`.

PieterCK5f12e47ba763
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 49484f8ebc3..e3ad09875db 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -2059,6 +2059,8 @@
);
/* The SVG must be adjusted when changing the border color above. */
--svg-url-rendered-checkbox: url("../images/checkbox.svg");
+ /* Nested checkboxes in settings menu */
+ --settings-nested-checkbox-vertical-margins: 0.3125em 0; /* 5px at 16px */
/* Theme-dependent SVGs */
--svg-url-thumbnail-loader: url("../images/loading/loader-black.svg");
diff --git a/web/styles/modal.css b/web/styles/modal.css
index 35fa44738f3..e0602c21e26 100644
--- a/web/styles/modal.css
+++ b/web/styles/modal.css
@@ -633,7 +633,7 @@
#integrations-event-options {
.integration-event-wrapper {
- margin: 5px 0;
+ margin: var(--settings-nested-checkbox-vertical-margins);
}
.integration-event-name {