Fix context checkbox squish

This commit is contained in:
Cohee 2024-09-10 11:48:33 +03:00
parent ec0e31482d
commit 1582974ba9

View File

@ -1745,7 +1745,7 @@ async function loadContextSettings() {
power_user.context[control.property] = value; power_user.context[control.property] = value;
} }
console.log(`Setting ${$element.prop('id')} to ${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)); await resetScrollHeight($(this));
} }
saveSettingsDebounced(); saveSettingsDebounced();