diff --git a/app/components/settings.tsx b/app/components/settings.tsx index 43d14fc47..dce7c7243 100644 --- a/app/components/settings.tsx +++ b/app/components/settings.tsx @@ -251,20 +251,37 @@ export function Settings(props: { closeSettings: () => void }) { title={Locale.Settings.FontSize.Title} subTitle={Locale.Settings.FontSize.SubTitle} > - - updateConfig( - (config) => - (config.fontSize = Number.parseInt(e.currentTarget.value)), - ) - } - > + <> + + {config.fontSize ?? 14}px + + + updateConfig( + (config) => + (config.fontSize = Number.parseInt( + e.currentTarget.value, + )), + ) + } + onMouseMove={(e) => { + const fontSizeDisplay = + document.getElementById("fontSizeDisplay"); + if (fontSizeDisplay) { + fontSizeDisplay.innerText = `${e.currentTarget.value}px`; + } + }} + > + >