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

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

No files matched your search

@@ -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}
@@ -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}
@@ -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}