diff options
author | Anton Tananaev <anton@traccar.org> | 2023-06-13 06:26:44 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-06-13 06:26:44 -0700 |
commit | 299b69887b2f2fcedc71b6a000effeab5ba58b25 (patch) | |
tree | 19122dc50f021800f4502fdc10fda19272ee95d9 /modern/src/settings/GroupsPage.js | |
parent | cb7106f4bfd6856470861890ea5e4c0bbc4703ac (diff) | |
download | trackermap-web-299b69887b2f2fcedc71b6a000effeab5ba58b25.tar.gz trackermap-web-299b69887b2f2fcedc71b6a000effeab5ba58b25.tar.bz2 trackermap-web-299b69887b2f2fcedc71b6a000effeab5ba58b25.zip |
Add table bottom margin (fix #1091)
Diffstat (limited to 'modern/src/settings/GroupsPage.js')
-rw-r--r-- | modern/src/settings/GroupsPage.js | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/modern/src/settings/GroupsPage.js b/modern/src/settings/GroupsPage.js index e570c4bf..baba7f72 100644 --- a/modern/src/settings/GroupsPage.js +++ b/modern/src/settings/GroupsPage.js @@ -5,7 +5,6 @@ import { } from '@mui/material'; import LinkIcon from '@mui/icons-material/Link'; import PublishIcon from '@mui/icons-material/Publish'; -import makeStyles from '@mui/styles/makeStyles'; import { useEffectAsync } from '../reactHelper'; import { useTranslation } from '../common/components/LocalizationProvider'; import PageLayout from '../common/components/PageLayout'; @@ -15,16 +14,10 @@ import CollectionActions from './components/CollectionActions'; import TableShimmer from '../common/components/TableShimmer'; import SearchHeader, { filterByKeyword } from './components/SearchHeader'; import { useRestriction } from '../common/util/permissions'; - -const useStyles = makeStyles((theme) => ({ - columnAction: { - width: '1%', - paddingRight: theme.spacing(1), - }, -})); +import useSettingsStyles from './common/useSettingsStyles'; const GroupsPage = () => { - const classes = useStyles(); + const classes = useSettingsStyles(); const navigate = useNavigate(); const t = useTranslation(); @@ -66,7 +59,7 @@ const GroupsPage = () => { return ( <PageLayout menu={<SettingsMenu />} breadcrumbs={['settingsTitle', 'settingsGroups']}> <SearchHeader keyword={searchKeyword} setKeyword={setSearchKeyword} /> - <Table> + <Table className={classes.table}> <TableHead> <TableRow> <TableCell>{t('sharedName')}</TableCell> |