mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-08 14:29:15 +08:00
fix: 自定义界面字体 #158
This commit is contained in:
parent
938efb5aef
commit
a6d7ecae81
@ -214,12 +214,12 @@ const SettingsTab: FC<Props> = (props) => {
|
|||||||
onChange={(value) => setFontSizeValue(value)}
|
onChange={(value) => setFontSizeValue(value)}
|
||||||
onChangeComplete={(value) => dispatch(setFontSize(value))}
|
onChangeComplete={(value) => dispatch(setFontSize(value))}
|
||||||
min={12}
|
min={12}
|
||||||
max={18}
|
max={22}
|
||||||
step={1}
|
step={1}
|
||||||
marks={{
|
marks={{
|
||||||
12: <span style={{ fontSize: '12px' }}>A</span>,
|
12: <span style={{ fontSize: '12px' }}>A</span>,
|
||||||
14: <span style={{ fontSize: '14px' }}>{t('common.default')}</span>,
|
14: <span style={{ fontSize: '14px' }}>{t('common.default')}</span>,
|
||||||
18: <span style={{ fontSize: '18px' }}>A</span>
|
22: <span style={{ fontSize: '18px' }}>A</span>
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Col>
|
</Col>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user