Add warning for trim spaces disabled
| @@ -459,3 +459,7 @@ body.expandMessageActions .mes .mes_buttons .extraMesButtonsHint { | ||
| 459 | 459 | .mdhotkey_icon { |
| 460 | 460 | opacity: 0.6; |
| 461 | 461 | } |
| 462 | + | |
| 463 | +label[for="trim_spaces"]:has(input:checked) i.warning { | |
| 464 | + display: none; | |
| 465 | +} | |
| @@ -3222,6 +3222,7 @@ | ||
| 3222 | 3222 | <label class="checkbox_label" for="trim_spaces"> |
| 3223 | 3223 | <input id="trim_spaces" type="checkbox" /> |
| 3224 | 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 | 3226 | </label> |
| 3226 | 3227 | <label class="checkbox_label" for="trim_sentences_checkbox"> |
| 3227 | 3228 | <input id="trim_sentences_checkbox" type="checkbox" /> |