Update settings.tsx

This commit is contained in:
Yifei Zhang 2023-03-29 16:06:22 +08:00 committed by GitHub
parent 91a36c7365
commit 934b1edf79

View File

@ -232,7 +232,7 @@ export function Settings(props: { closeSettings: () => void }) {
>
<input
type="range"
title={config.fontSize.toString() + 'px'}
title={`${config.fontSize ?? 14}px`}
value={config.fontSize}
min="12"
max="18"