Style settings textarea with CSS

This commit is contained in:
Adam Fletcher 2025-04-15 08:10:39 +01:00
parent 397a567cc7
commit 7116e8b33a
2 changed files with 7 additions and 3 deletions

View file

@ -378,9 +378,7 @@ class CutTheFluggSettingsTab extends PluginSettingTab {
// Don't save setting here because of partial edits
})
.then(textArea => {
textArea.inputEl.style.width = "100%";
textArea.inputEl.rows = 10;
textArea.inputEl.style.resize = "none";
textArea.inputEl.addClass("settings-full-width-textarea");
});

View file

@ -12,4 +12,10 @@
.fluff-strikethrough {
text-decoration-line: line-through;
color: var(--text-faint);
}
.settings-full-width-textarea {
width: 100%;
resize: none;
height: 12em;
}