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.

css: Use padding-top instead of putting margin-top on first div.

Shubham Padia2081fb52a1f0
diff --git a/web/styles/settings.css b/web/styles/settings.css
index f152adc96fb..4e040fb88a2 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -551,8 +551,8 @@ input[type="checkbox"] {
}
}
-.organization-settings-parent > div:first-of-type {
- margin-top: 10px;
+.organization-settings-parent {
+ padding-top: 10px;
}
#id_org_profile_preview {
@@ -563,8 +563,8 @@ input[type="checkbox"] {
margin-bottom: 20px;
}
-.inline-block.organization-permissions-parent div:first-of-type {
- margin-top: 10px;
+.inline-block.organization-permissions-parent {
+ padding-top: 10px;
}
.language_selection_widget .language_selection_button {