mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-07 13:59:28 +08:00
fix: setting tab font size
This commit is contained in:
parent
e83d31a232
commit
63242384d6
@ -227,9 +227,9 @@ const SettingsTab: FC<Props> = (props) => {
|
|||||||
}>
|
}>
|
||||||
<SettingGroup style={{ marginTop: 5 }}>
|
<SettingGroup style={{ marginTop: 5 }}>
|
||||||
<Row align="middle">
|
<Row align="middle">
|
||||||
<Label>{t('chat.settings.temperature')}</Label>
|
<SettingRowTitleSmall>{t('chat.settings.temperature')}</SettingRowTitleSmall>
|
||||||
<Tooltip title={t('chat.settings.temperature.tip')}>
|
<Tooltip title={t('chat.settings.temperature.tip')}>
|
||||||
<CircleHelp size={14} color="var(--color-text-2)" />
|
<CircleHelp size={14} style={{ marginLeft: 4 }} color="var(--color-text-2)" />
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</Row>
|
</Row>
|
||||||
<Row align="middle" gutter={10}>
|
<Row align="middle" gutter={10}>
|
||||||
@ -245,9 +245,9 @@ const SettingsTab: FC<Props> = (props) => {
|
|||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
<Row align="middle">
|
<Row align="middle">
|
||||||
<Label>{t('chat.settings.context_count')}</Label>
|
<SettingRowTitleSmall>{t('chat.settings.context_count')}</SettingRowTitleSmall>
|
||||||
<Tooltip title={t('chat.settings.context_count.tip')}>
|
<Tooltip title={t('chat.settings.context_count.tip')}>
|
||||||
<CircleHelp size={14} color="var(--color-text-2)" />
|
<CircleHelp size={14} style={{ marginLeft: 4 }} color="var(--color-text-2)" />
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</Row>
|
</Row>
|
||||||
<Row align="middle" gutter={10}>
|
<Row align="middle" gutter={10}>
|
||||||
@ -276,12 +276,12 @@ const SettingsTab: FC<Props> = (props) => {
|
|||||||
</SettingRow>
|
</SettingRow>
|
||||||
<SettingDivider />
|
<SettingDivider />
|
||||||
<SettingRow>
|
<SettingRow>
|
||||||
<HStack alignItems="center">
|
<Row align="middle">
|
||||||
<Label>{t('chat.settings.max_tokens')}</Label>
|
<SettingRowTitleSmall>{t('chat.settings.max_tokens')}</SettingRowTitleSmall>
|
||||||
<Tooltip title={t('chat.settings.max_tokens.tip')}>
|
<Tooltip title={t('chat.settings.max_tokens.tip')}>
|
||||||
<CircleHelp size={14} color="var(--color-text-2)" />
|
<CircleHelp size={14} style={{ marginLeft: 4 }} color="var(--color-text-2)" />
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</HStack>
|
</Row>
|
||||||
<Switch
|
<Switch
|
||||||
size="small"
|
size="small"
|
||||||
checked={enableMaxTokens}
|
checked={enableMaxTokens}
|
||||||
@ -709,12 +709,6 @@ const Container = styled(Scrollbar)`
|
|||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
`
|
`
|
||||||
|
|
||||||
const Label = styled.p`
|
|
||||||
margin: 0;
|
|
||||||
font-size: 12px;
|
|
||||||
margin-right: 5px;
|
|
||||||
`
|
|
||||||
|
|
||||||
const SettingRowTitleSmall = styled(SettingRowTitle)`
|
const SettingRowTitleSmall = styled(SettingRowTitle)`
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
`
|
`
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user