Update settings.tsx

This commit is contained in:
Yifei Zhang 2023-03-29 16:06:22 +08:00 committed by GitHub
parent e12238ba8b
commit ca0082856a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"