Add warning for trim spaces disabled

14b48c5b346fe5d38919c5a5c13410f9cf802935

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

2 files changed, +5 -0Showing whitespace changes
public/css/toggle-dependent.css+4 -0
@@ -459,3 +459,7 @@ body.expandMessageActions .mes .mes_buttons .extraMesButtonsHint {
459459.mdhotkey_icon {
460460 opacity: 0.6;
461461}
462+
463+label[for="trim_spaces"]:has(input:checked) i.warning {
464+ display: none;
465+}
public/index.html+1 -0
@@ -3222,6 +3222,7 @@
32223222 <label class="checkbox_label" for="trim_spaces">
32233223 <input id="trim_spaces" type="checkbox" />
32243224 <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>
32253226 </label>
32263227 <label class="checkbox_label" for="trim_sentences_checkbox">
32273228 <input id="trim_sentences_checkbox" type="checkbox" />