css: Remove .thinner class from Settings.

This commit removes the `.thinner` class from the
"Play animated images" setting in Preferences > Information,
and from the "Home view" setting in Preferences > Navigation.
The `.setting-next-is-related` class, used in combination with
the `.thinner` class, is also removed as it is not needed.
We no longer use the `.thinner` class.
This commit is contained in:
Saubhagya Patel
2025-04-21 23:14:56 +05:30
committed by Tim Abbott
parent 19f60b203d
commit 9f1744511b
4 changed files with 3 additions and 10 deletions

View File

@@ -363,13 +363,6 @@ select.settings_select {
.input-group {
margin: 0 0 20px;
/* Class to use when the following input-group is related and should
appear just after this element. Normally the margin is 20px, but
for related settings, we set it to 10px. */
&.thinner {
margin-bottom: 10px;
}
& label.checkbox + label {
cursor: pointer;
}

View File

@@ -49,7 +49,7 @@
</div>
</div>
<div class="input-group thinner setting-next-is-related">
<div class="input-group">
<label for="{{prefix}}web_animate_image_previews" class="settings-field-label">{{t "Play animated images" }}</label>
<select name="web_animate_image_previews" class="setting_web_animate_image_previews prop-element settings_select bootstrap-focus-style" id="{{prefix}}web_animate_image_previews" data-setting-widget-type="string">
{{> dropdown_options_widget option_values=web_animate_image_previews_values}}

View File

@@ -4,7 +4,7 @@
{{> settings_save_discard_widget section_name="navigation-settings" show_only_indicator=(not for_realm_settings) }}
</div>
<div class="input-group thinner setting-next-is-related">
<div class="input-group">
<label for="{{prefix}}web_home_view" class="settings-field-label">{{t "Home view" }}
{{> ../help_link_widget link="/help/configure-home-view" }}
</label>

View File

@@ -1,5 +1,5 @@
{{#unless (eq render_only false)}}
<div class="input-group setting-next-is-related {{#if is_disabled}}control-label-disabled{{/if}}">
<div class="input-group {{#if is_disabled}}control-label-disabled{{/if}}">
<label for="{{#if prefix}}{{prefix}}{{/if}}{{setting_name}}" class="{{setting_name}}_label" id="{{#if prefix}}{{prefix}}{{/if}}{{setting_name}}_label">
{{label}}
{{#if label_parens_text}}