aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/ComputedAttributePage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/settings/ComputedAttributePage.js')
-rw-r--r--modern/src/settings/ComputedAttributePage.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/modern/src/settings/ComputedAttributePage.js b/modern/src/settings/ComputedAttributePage.js
index ba5fe712..da92ad80 100644
--- a/modern/src/settings/ComputedAttributePage.js
+++ b/modern/src/settings/ComputedAttributePage.js
@@ -17,9 +17,12 @@ import { useTranslation } from '../common/components/LocalizationProvider';
import usePositionAttributes from '../common/attributes/usePositionAttributes';
import SettingsMenu from './components/SettingsMenu';
-const useStyles = makeStyles(() => ({
+const useStyles = makeStyles((theme) => ({
details: {
+ display: 'flex',
flexDirection: 'column',
+ gap: theme.spacing(2),
+ paddingBottom: theme.spacing(3),
},
}));
@@ -69,12 +72,11 @@ const ComputedAttributePage = () => {
</AccordionSummary>
<AccordionDetails className={classes.details}>
<TextField
- margin="normal"
value={item.description || ''}
onChange={(event) => setItem({ ...item, description: event.target.value })}
label={t('sharedDescription')}
/>
- <FormControl margin="normal" fullWidth>
+ <FormControl>
<InputLabel>{t('sharedAttribute')}</InputLabel>
<Select
label={t('sharedAttribute')}
@@ -87,7 +89,6 @@ const ComputedAttributePage = () => {
</Select>
</FormControl>
<TextField
- margin="normal"
value={item.expression || ''}
onChange={(event) => setItem({ ...item, expression: event.target.value })}
label={t('sharedExpression')}
@@ -95,7 +96,6 @@ const ComputedAttributePage = () => {
rows={4}
/>
<FormControl
- margin="normal"
fullWidth
disabled={key in positionAttributes}
>