refactor: 微调样式以适配华为手机宽度

pull/81/head
moonrailgun 3 years ago
parent 2d315f2d80
commit ca2697b970

@ -181,7 +181,7 @@ export const ModalWrapper: React.FC<{
return (
<div
className={clsx('p-4', props.className)}
style={{ minWidth: isMobile ? 300 : 420, ...props.style }}
style={{ minWidth: isMobile ? 290 : 420, ...props.style }}
>
{title}
{props.children}

@ -23,7 +23,7 @@ export const SettingsSystem: React.FC = React.memo(() => {
title={t('系统语言')}
content={
<Select
style={{ width: 300 }}
style={{ width: 280 }}
size="large"
value={language}
onChange={handleChangeLanguage}
@ -38,7 +38,7 @@ export const SettingsSystem: React.FC = React.memo(() => {
title={t('配色方案')}
content={
<Select
style={{ width: 300 }}
style={{ width: 280 }}
size="large"
value={colorScheme}
onChange={setColorScheme}

Loading…
Cancel
Save