From ae22e17de1d9745b0f49c09ccc11ea92dd976907 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 23 May 2022 17:28:00 -0700 Subject: Fix forms --- modern/src/settings/ComputedAttributePage.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modern/src/settings/ComputedAttributePage.js') 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 = () => { setItem({ ...item, description: event.target.value })} label={t('sharedDescription')} /> - + {t('sharedAttribute')} setItem({ ...item, expression: event.target.value })} label={t('sharedExpression')} @@ -95,7 +96,6 @@ const ComputedAttributePage = () => { rows={4} /> -- cgit v1.2.3