mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-11 08:19:01 +08:00
feat: Adjust the order of settings
This commit is contained in:
parent
fc3d15fae8
commit
ad9fb9aa6d
@ -147,19 +147,6 @@ const DisplaySettings: FC = () => {
|
|||||||
setDisabledIcons={setDisabledIcons}
|
setDisabledIcons={setDisabledIcons}
|
||||||
/>
|
/>
|
||||||
</SettingGroup>
|
</SettingGroup>
|
||||||
<SettingGroup theme={theme}>
|
|
||||||
<SettingTitle>{t('settings.display.custom.css')}</SettingTitle>
|
|
||||||
<SettingDivider />
|
|
||||||
<Input.TextArea
|
|
||||||
value={customCss}
|
|
||||||
onChange={(e) => dispatch(setCustomCss(e.target.value))}
|
|
||||||
placeholder={t('settings.display.custom.css.placeholder')}
|
|
||||||
style={{
|
|
||||||
minHeight: 200,
|
|
||||||
fontFamily: 'monospace'
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</SettingGroup>
|
|
||||||
<SettingGroup theme={theme}>
|
<SettingGroup theme={theme}>
|
||||||
<SettingTitle
|
<SettingTitle
|
||||||
style={{ display: 'flex', flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
style={{ display: 'flex', flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
||||||
@ -176,6 +163,19 @@ const DisplaySettings: FC = () => {
|
|||||||
setDisabledMiniApps={setDisabledMiniApps}
|
setDisabledMiniApps={setDisabledMiniApps}
|
||||||
/>
|
/>
|
||||||
</SettingGroup>
|
</SettingGroup>
|
||||||
|
<SettingGroup theme={theme}>
|
||||||
|
<SettingTitle>{t('settings.display.custom.css')}</SettingTitle>
|
||||||
|
<SettingDivider />
|
||||||
|
<Input.TextArea
|
||||||
|
value={customCss}
|
||||||
|
onChange={(e) => dispatch(setCustomCss(e.target.value))}
|
||||||
|
placeholder={t('settings.display.custom.css.placeholder')}
|
||||||
|
style={{
|
||||||
|
minHeight: 200,
|
||||||
|
fontFamily: 'monospace'
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</SettingGroup>
|
||||||
</SettingContainer>
|
</SettingContainer>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user