Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

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

evykassirerf7a27be0a853
diff --git a/web/styles/settings.css b/web/styles/settings.css
index 77586c3a5ea..f152adc96fb 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -1258,7 +1258,7 @@ label.preferences-radio-choice-label {
cursor: not-allowed;
}
- &:checked + span {
+ &:checked + .preferences-radio-choice-text {
font-weight: 600;
}
}
diff --git a/web/templates/settings/display_settings_emoji.hbs b/web/templates/settings/display_settings_emoji.hbs
index 6233c3d6323..71ad70fe703 100644
--- a/web/templates/settings/display_settings_emoji.hbs
+++ b/web/templates/settings/display_settings_emoji.hbs
@@ -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" }}
diff --git a/web/templates/settings/display_settings_information.hbs b/web/templates/settings/display_settings_information.hbs
index 96bbbb1885b..173fdc5c238 100644
--- a/web/templates/settings/display_settings_information.hbs
+++ b/web/templates/settings/display_settings_information.hbs
@@ -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)}}