some cosmetic changes

This commit is contained in:
proddy
2022-03-29 18:32:28 +02:00
parent 4118a576de
commit a5ba70a6d7

View File

@@ -46,7 +46,7 @@ const StyledTableCell = styled(TableCell)(({ theme }) => ({
fontSize: 11 fontSize: 11
}, },
[`&.${tableCellClasses.body}`]: { [`&.${tableCellClasses.body}`]: {
fontSize: 11 fontSize: 12
} }
})); }));
@@ -60,7 +60,7 @@ const SettingsCustomization: FC = () => {
const [confirmReset, setConfirmReset] = useState<boolean>(false); const [confirmReset, setConfirmReset] = useState<boolean>(false);
// eslint-disable-next-line // eslint-disable-next-line
const [masks, setMasks] = useState(() => ['1']); const [masks, setMasks] = useState(() => ['']);
const fetchDevices = useCallback(async () => { const fetchDevices = useCallback(async () => {
try { try {
@@ -119,10 +119,10 @@ const SettingsCustomization: FC = () => {
<Box mb={2} color="warning.main"> <Box mb={2} color="warning.main">
<Typography variant="body2"> <Typography variant="body2">
You can mark an entity as a favorite to be listed first in the Dashboard ( You can mark an entity as a favorite to be listed first in the Dashboard (
<FavoriteBorderOutlinedIcon fontSize="small" />) ,or remove it entirely from the Dashboard ( <FavoriteBorderOutlinedIcon color="success" fontSize="small" />) ,or remove it entirely from the Dashboard (
<VisibilityOffOutlinedIcon fontSize="small" />) ,or disable it's write operation ( <VisibilityOffOutlinedIcon color="action" fontSize="small" />) ,or disable it's write operation (
<EditOffOutlinedIcon fontSize="small" />) or have it excluded from the MQTT and API outputs ( <EditOffOutlinedIcon color="action" fontSize="small" />) or have it excluded from the MQTT and API outputs (
<CommentsDisabledOutlinedIcon fontSize="small" /> <CommentsDisabledOutlinedIcon color="action" fontSize="small" />
). ).
</Typography> </Typography>
</Box> </Box>