mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
settings: Scale margin of input groups with font size.
This commit adjusts the margin of input groups in settings pages to relative `em` units to ensure that the spacing scales to accommodate different font sizes.
This commit is contained in:
@@ -362,7 +362,7 @@ select.settings_select {
|
||||
}
|
||||
|
||||
.input-group {
|
||||
margin: 0 0 20px;
|
||||
margin: 0 0 1.25em; /* 20px at 16px/em */
|
||||
|
||||
& label.checkbox + label {
|
||||
cursor: pointer;
|
||||
|
@@ -348,7 +348,7 @@ h4.user_group_setting_subsection_title {
|
||||
margin-top: 10px;
|
||||
|
||||
.input-group {
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 1.25em; /* 20px at 16px/em */
|
||||
|
||||
&.control-label-disabled {
|
||||
width: fit-content;
|
||||
@@ -1259,7 +1259,7 @@ div.settings-radio-input-parent {
|
||||
.advanced-configurations-container,
|
||||
.group-permissions {
|
||||
.input-group {
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 0.625em; /* 10px at 16px/em */
|
||||
|
||||
&.message-retention-setting-group {
|
||||
& input {
|
||||
|
Reference in New Issue
Block a user