mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 14:27:02 +08:00
@@ -52,7 +52,7 @@ export const DocPrimaryModeValue = ({ onChange }: PropertyValueProps) => {
|
|||||||
return (
|
return (
|
||||||
<PropertyValue className={styles.container} hoverable={false}>
|
<PropertyValue className={styles.container} hoverable={false}>
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
width={194}
|
width={BUILD_CONFIG.isMobileEdition ? '100%' : 194}
|
||||||
itemHeight={24}
|
itemHeight={24}
|
||||||
value={primaryMode}
|
value={primaryMode}
|
||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ export const EdgelessThemeValue = ({ onChange }: PropertyValueProps) => {
|
|||||||
return (
|
return (
|
||||||
<PropertyValue className={styles.container} hoverable={false}>
|
<PropertyValue className={styles.container} hoverable={false}>
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
width={194}
|
width={BUILD_CONFIG.isMobileEdition ? '100%' : 194}
|
||||||
itemHeight={24}
|
itemHeight={24}
|
||||||
value={edgelessTheme || 'system'}
|
value={edgelessTheme || 'system'}
|
||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ export const PageWidthValue = ({ onChange }: PropertyValueProps) => {
|
|||||||
return (
|
return (
|
||||||
<PropertyValue className={container} hoverable={false}>
|
<PropertyValue className={container} hoverable={false}>
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
width={194}
|
width={BUILD_CONFIG.isMobileEdition ? '100%' : 194}
|
||||||
itemHeight={24}
|
itemHeight={24}
|
||||||
value={radioValue}
|
value={radioValue}
|
||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
|
|||||||
Reference in New Issue
Block a user