Fix context checkbox squish

This commit is contained in:
Cohee 2024-09-10 11:48:33 +03:00
parent ec0e31482d
commit 1582974ba9
1 changed files with 1 additions and 1 deletions

View File

@ -1745,7 +1745,7 @@ async function loadContextSettings() {
power_user.context[control.property] = value;
}
console.log(`Setting ${$element.prop('id')} to ${value}`);
if (!CSS.supports('field-sizing', 'content')) {
if (!CSS.supports('field-sizing', 'content') && $(this).is('textarea')) {
await resetScrollHeight($(this));
}
saveSettingsDebounced();