settings: Use settings-field-label class in language widget label.

We now use "settings-field-label" class in the label of language
selection widget instead of "title" class to add the bottom margin.
This commit is contained in:
Sahil Batra 2024-04-01 23:23:36 +05:30 committed by Tim Abbott
parent 62d2b93079
commit a37deb9fbc
2 changed files with 6 additions and 12 deletions

View File

@ -540,18 +540,12 @@ input[type="checkbox"] {
margin-top: 10px;
}
.language_selection_widget {
.title {
margin-bottom: var(--margin-bottom-field-description);
}
.language_selection_widget .language_selection_button {
text-decoration: none;
color: hsl(0deg 0% 20%);
.language_selection_button {
text-decoration: none;
color: hsl(0deg 0% 20%);
.fa.fa-pencil {
margin-left: 5px;
}
.fa.fa-pencil {
margin-left: 5px;
}
}

View File

@ -1,5 +1,5 @@
<div class="language_selection_widget input-group prop-element" id="id_{{section_name}}">
<label class="title">
<label class="settings-field-label">
{{section_title}}
{{#if help_link_widget_link}}
{{> ../help_link_widget link=help_link_widget_link }}