Skip to content

Build your personal knowledge base with Trilium Notes

fix(settings/appearance): font size can't be typed out properly (closes #7740)

Elian Doran35ca295d48b4
diff --git a/apps/client/src/widgets/type_widgets/options/appearance.tsx b/apps/client/src/widgets/type_widgets/options/appearance.tsx
index 19ddf766c2..809d05e9ea 100644
--- a/apps/client/src/widgets/type_widgets/options/appearance.tsx
+++ b/apps/client/src/widgets/type_widgets/options/appearance.tsx
@@ -203,7 +203,7 @@ function Font({ title, fontFamilyOption, fontSizeOption }: { title: string, font
<FormTextBoxWithUnit
name="tree-font-size"
type="number" min={50} max={200} step={10}
- currentValue={fontSize} onChange={setFontSize}
+ currentValue={fontSize} onBlur={setFontSize}
unit={t("units.percentage")}
/>
</FormGroup>