Add warning for trim spaces disabled

14b48c5b346fe5d38919c5a5c13410f9cf802935

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +5 -0Ignore whitespace
public/css/toggle-dependent.css+4 -0
@@ -459,3 +459,7 @@ body.expandMessageActions .mes .mes_buttons .extraMesButtonsHint {
459.mdhotkey_icon {459.mdhotkey_icon {
460 opacity: 0.6;460 opacity: 0.6;
461}461}
462
463label[for="trim_spaces"]:has(input:checked) i.warning {
464 display: none;
465}
public/index.html+1 -0
@@ -3222,6 +3222,7 @@
3222 <label class="checkbox_label" for="trim_spaces">3222 <label class="checkbox_label" for="trim_spaces">
3223 <input id="trim_spaces" type="checkbox" />3223 <input id="trim_spaces" type="checkbox" />
3224 <small data-i18n="Trim spaces">Trim spaces</small>3224 <small data-i18n="Trim spaces">Trim spaces</small>
3225 <i class="fa-sm fa-solid fa-exclamation-triangle warning" title="Disabling is not recommended." data-i18n="[title]Disabling is not recommended."></i>
3225 </label>3226 </label>
3226 <label class="checkbox_label" for="trim_sentences_checkbox">3227 <label class="checkbox_label" for="trim_sentences_checkbox">
3227 <input id="trim_sentences_checkbox" type="checkbox" />3228 <input id="trim_sentences_checkbox" type="checkbox" />