fix: settings style update (#3161)

(cherry picked from commit d88a21d24a)
This commit is contained in:
Peng Xiao
2023-07-11 20:55:28 +08:00
committed by Alex Yang
parent 2c9c4c2cd3
commit c9a7744270
9 changed files with 45 additions and 24 deletions
@@ -120,7 +120,7 @@ export const AppearanceSettings = () => {
<LanguageMenu triggerProps={{ size: 'small' }} />
</div>
</SettingRow>
{runtimeConfig.enableNewSettingUnstableApi && environment.isDesktop ? (
{environment.isDesktop ? (
<SettingRow
name={t['Client Border Style']()}
desc={t['Customize the appearance of the client.']()}
@@ -4,7 +4,7 @@ export const settingContent = style({
flexGrow: '1',
height: '100%',
padding: '40px 15px 20px',
overflowX: 'auto',
overflow: 'auto',
});
globalStyle(`${settingContent} .wrapper`, {
@@ -13,7 +13,6 @@ globalStyle(`${settingContent} .wrapper`, {
height: '100%',
maxWidth: '560px',
margin: '0 auto',
overflowY: 'auto',
});
globalStyle(`${settingContent} .content`, {
minHeight: '100%',