aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/ComputedAttributesPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-08 09:03:26 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-08 09:03:26 -0700
commitf5313f895c29aae18afbc084c965b8ace37833ff (patch)
tree8ef1de78d522e9bee55643f15ec6ba1190b2fa06 /modern/src/settings/ComputedAttributesPage.js
parent61d616f1f5851ebea1b61fcfe1c907902771573f (diff)
downloadtrackermap-web-f5313f895c29aae18afbc084c965b8ace37833ff.tar.gz
trackermap-web-f5313f895c29aae18afbc084c965b8ace37833ff.tar.bz2
trackermap-web-f5313f895c29aae18afbc084c965b8ace37833ff.zip
Update table styles
Diffstat (limited to 'modern/src/settings/ComputedAttributesPage.js')
-rw-r--r--modern/src/settings/ComputedAttributesPage.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/modern/src/settings/ComputedAttributesPage.js b/modern/src/settings/ComputedAttributesPage.js
index 78842e33..d9b19de0 100644
--- a/modern/src/settings/ComputedAttributesPage.js
+++ b/modern/src/settings/ComputedAttributesPage.js
@@ -10,6 +10,9 @@ import { useTranslation } from '../LocalizationProvider';
import { useAdministrator } from '../common/permissions';
const useStyles = makeStyles((theme) => ({
+ table: {
+ backgroundColor: theme.palette.colors.white,
+ },
columnAction: {
width: theme.spacing(1),
padding: theme.spacing(0, 1),
@@ -31,7 +34,7 @@ const ComputedAttributeView = ({ updateTimestamp, onMenuClick }) => {
}, [updateTimestamp]);
return (
- <TableContainer>
+ <TableContainer className={classes.table}>
<Table>
<TableHead>
<TableRow>
@@ -47,7 +50,7 @@ const ComputedAttributeView = ({ updateTimestamp, onMenuClick }) => {
<TableRow key={item.id}>
{administrator && (
<TableCell className={classes.columnAction} padding="none">
- <IconButton onClick={(event) => onMenuClick(event.currentTarget, item.id)}>
+ <IconButton size="small" onClick={(event) => onMenuClick(event.currentTarget, item.id)}>
<MoreVertIcon />
</IconButton>
</TableCell>