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:
Sayam Samal
2025-07-02 07:59:37 +05:30
committed by Tim Abbott
parent 49332fb528
commit 0fe4b6b317
2 changed files with 3 additions and 3 deletions

View File

@@ -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 {