fix(mobile): doc info radio group width (#9000)

fix AF-1874
This commit is contained in:
pengx17
2024-12-04 06:56:31 +00:00
parent 018b293f2d
commit 82d133d64d
3 changed files with 3 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ export const DocPrimaryModeValue = ({ onChange }: PropertyValueProps) => {
return (
<PropertyValue className={styles.container} hoverable={false}>
<RadioGroup
width={194}
width={BUILD_CONFIG.isMobileEdition ? '100%' : 194}
itemHeight={24}
value={primaryMode}
onChange={handleChange}

View File

@@ -39,7 +39,7 @@ export const EdgelessThemeValue = ({ onChange }: PropertyValueProps) => {
return (
<PropertyValue className={styles.container} hoverable={false}>
<RadioGroup
width={194}
width={BUILD_CONFIG.isMobileEdition ? '100%' : 194}
itemHeight={24}
value={edgelessTheme || 'system'}
onChange={handleChange}

View File

@@ -51,7 +51,7 @@ export const PageWidthValue = ({ onChange }: PropertyValueProps) => {
return (
<PropertyValue className={container} hoverable={false}>
<RadioGroup
width={194}
width={BUILD_CONFIG.isMobileEdition ? '100%' : 194}
itemHeight={24}
value={radioValue}
onChange={handleChange}