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/DriversPage.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/DriversPage.js')
-rw-r--r-- | modern/src/settings/DriversPage.js | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/modern/src/settings/DriversPage.js b/modern/src/settings/DriversPage.js index cbca6bb7..72834860 100644 --- a/modern/src/settings/DriversPage.js +++ b/modern/src/settings/DriversPage.js @@ -2,7 +2,6 @@ import React, { useState } from 'react'; import { Table, TableRow, TableCell, TableHead, TableBody, } from '@mui/material'; -import makeStyles from '@mui/styles/makeStyles'; import { useEffectAsync } from '../reactHelper'; import { useTranslation } from '../common/components/LocalizationProvider'; import PageLayout from '../common/components/PageLayout'; @@ -11,16 +10,10 @@ import CollectionFab from './components/CollectionFab'; import CollectionActions from './components/CollectionActions'; import TableShimmer from '../common/components/TableShimmer'; import SearchHeader, { filterByKeyword } from './components/SearchHeader'; - -const useStyles = makeStyles((theme) => ({ - columnAction: { - width: '1%', - paddingRight: theme.spacing(1), - }, -})); +import useSettingsStyles from './common/useSettingsStyles'; const DriversPage = () => { - const classes = useStyles(); + const classes = useSettingsStyles(); const t = useTranslation(); const [timestamp, setTimestamp] = useState(Date.now()); @@ -45,7 +38,7 @@ const DriversPage = () => { return ( <PageLayout menu={<SettingsMenu />} breadcrumbs={['settingsTitle', 'sharedDrivers']}> <SearchHeader keyword={searchKeyword} setKeyword={setSearchKeyword} /> - <Table> + <Table className={classes.table}> <TableHead> <TableRow> <TableCell>{t('sharedName')}</TableCell> |