settings css: Use classname for checkbox label instead of span.

(cherry picked from commit f7a27be0a8)
This commit is contained in:
evykassirer 2024-07-25 16:09:14 -07:00 committed by Tim Abbott
parent aa0fba7580
commit 166c9489d5
3 changed files with 3 additions and 3 deletions

View File

@ -1258,7 +1258,7 @@ label.preferences-radio-choice-label {
cursor: not-allowed;
}
&:checked + span {
&:checked + .preferences-radio-choice-text {
font-weight: 600;
}
}

View File

@ -11,7 +11,7 @@
<label class="preferences-radio-choice-label">
<div class="radio-choice-controls">
<input type="radio" class="setting_emojiset_choice" name="emojiset" value="{{this.key}}"/>
<span>{{this.text}}</span>
<span class="preferences-radio-choice-text">{{this.text}}</span>
{{#if (eq this.key "google-blob")}}
<span>(<em>{{t "deprecated" }}</em>)</span>
{{> ../help_link_widget link="/help/emoji-and-emoticons#change-your-emoji-set" }}

View File

@ -11,7 +11,7 @@
<label class="preferences-radio-choice-label">
<div class="radio-choice-controls">
<input type="radio" class="setting_user_list_style_choice" name="user_list_style" value="{{this.code}}"/>
<span>{{this.description}}</span>
<span class="preferences-radio-choice-text">{{this.description}}</span>
</div>
<span class="right preview">
{{#if (eq this.code 1)}}