mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
ee26c0537e
commit
93d0b8241c
1 changed files with 5 additions and 1 deletions
|
|
@ -187,6 +187,10 @@
|
|||
const setTextScaleHandler = (scale) => {
|
||||
textScale = scale;
|
||||
setTextScale(textScale);
|
||||
|
||||
if (textScale === 1) {
|
||||
textScale = null;
|
||||
}
|
||||
saveSettings({ textScale });
|
||||
};
|
||||
|
||||
|
|
@ -342,7 +346,7 @@
|
|||
} else {
|
||||
textScale = null;
|
||||
}
|
||||
setTextScale(1);
|
||||
setTextScaleHandler(1);
|
||||
}}
|
||||
>
|
||||
{#if textScale === null}
|
||||
|
|
|
|||
Loading…
Reference in a new issue