aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/GeofencePage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/settings/GeofencePage.js')
-rw-r--r--modern/src/settings/GeofencePage.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/modern/src/settings/GeofencePage.js b/modern/src/settings/GeofencePage.js
index 353eb2b8..f372adb6 100644
--- a/modern/src/settings/GeofencePage.js
+++ b/modern/src/settings/GeofencePage.js
@@ -12,9 +12,12 @@ import { useTranslation } from '../common/components/LocalizationProvider';
import useGeofenceAttributes from '../common/attributes/useGeofenceAttributes';
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),
},
}));
@@ -47,7 +50,6 @@ const GeofencePage = () => {
</AccordionSummary>
<AccordionDetails className={classes.details}>
<TextField
- margin="normal"
value={item.name || ''}
onChange={(event) => setItem({ ...item, name: event.target.value })}
label={t('sharedName')}