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

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

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

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

Loading…
Cancel
Save