From 299b69887b2f2fcedc71b6a000effeab5ba58b25 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 13 Jun 2023 06:26:44 -0700 Subject: Add table bottom margin (fix #1091) --- modern/src/settings/DevicesPage.js | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'modern/src/settings/DevicesPage.js') diff --git a/modern/src/settings/DevicesPage.js b/modern/src/settings/DevicesPage.js index d3ebc85f..5f356964 100644 --- a/modern/src/settings/DevicesPage.js +++ b/modern/src/settings/DevicesPage.js @@ -5,7 +5,6 @@ import { Table, TableRow, TableCell, TableHead, TableBody, } from '@mui/material'; import LinkIcon from '@mui/icons-material/Link'; -import makeStyles from '@mui/styles/makeStyles'; import { useEffectAsync } from '../reactHelper'; import { useTranslation } from '../common/components/LocalizationProvider'; import PageLayout from '../common/components/PageLayout'; @@ -17,16 +16,10 @@ import SearchHeader, { filterByKeyword } from './components/SearchHeader'; import { usePreference } from '../common/util/preferences'; import { formatTime } from '../common/util/formatter'; import { useDeviceReadonly } from '../common/util/permissions'; - -const useStyles = makeStyles((theme) => ({ - columnAction: { - width: '1%', - paddingRight: theme.spacing(1), - }, -})); +import useSettingsStyles from './common/useSettingsStyles'; const DevicesPage = () => { - const classes = useStyles(); + const classes = useSettingsStyles(); const navigate = useNavigate(); const t = useTranslation(); @@ -65,7 +58,7 @@ const DevicesPage = () => { return ( } breadcrumbs={['settingsTitle', 'deviceTitle']}> - +
{t('sharedName')} -- cgit v1.2.3