mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-30 23:26:39 +08:00
*
This commit is contained in:
parent
dab69c7507
commit
7821f1d44f
@ -247,6 +247,20 @@ export function Settings(props: { closeSettings: () => void }) {
|
|||||||
</select>
|
</select>
|
||||||
</SettingItem>
|
</SettingItem>
|
||||||
|
|
||||||
|
<div className="no-mobile">
|
||||||
|
<SettingItem title={Locale.Settings.TightBorder}>
|
||||||
|
<input
|
||||||
|
type="checkbox"
|
||||||
|
checked={config.tightBorder}
|
||||||
|
onChange={(e) =>
|
||||||
|
updateConfig(
|
||||||
|
(config) => (config.tightBorder = e.currentTarget.checked),
|
||||||
|
)
|
||||||
|
}
|
||||||
|
></input>
|
||||||
|
</SettingItem>
|
||||||
|
</div>
|
||||||
|
|
||||||
<SettingItem
|
<SettingItem
|
||||||
title={Locale.Settings.FontSize.Title}
|
title={Locale.Settings.FontSize.Title}
|
||||||
subTitle={Locale.Settings.FontSize.SubTitle}
|
subTitle={Locale.Settings.FontSize.SubTitle}
|
||||||
@ -266,20 +280,6 @@ export function Settings(props: { closeSettings: () => void }) {
|
|||||||
}
|
}
|
||||||
></input>
|
></input>
|
||||||
</SettingItem>
|
</SettingItem>
|
||||||
|
|
||||||
<div className="no-mobile">
|
|
||||||
<SettingItem title={Locale.Settings.TightBorder}>
|
|
||||||
<input
|
|
||||||
type="checkbox"
|
|
||||||
checked={config.tightBorder}
|
|
||||||
onChange={(e) =>
|
|
||||||
updateConfig(
|
|
||||||
(config) => (config.tightBorder = e.currentTarget.checked),
|
|
||||||
)
|
|
||||||
}
|
|
||||||
></input>
|
|
||||||
</SettingItem>
|
|
||||||
</div>
|
|
||||||
</List>
|
</List>
|
||||||
<List>
|
<List>
|
||||||
<SettingItem
|
<SettingItem
|
||||||
|
Loading…
Reference in New Issue
Block a user