button formatting

This commit is contained in:
proddy
2026-06-08 22:48:46 +02:00
parent 2cb7677098
commit 4f2215b126
2 changed files with 15 additions and 1 deletions

View File

@@ -296,7 +296,12 @@ const Scheduler = () => {
<Cell stiff> <Cell stiff>
<CircleIcon <CircleIcon
color={si.active ? 'success' : 'error'} color={si.active ? 'success' : 'error'}
sx={{ fontSize: ICON_SIZE, verticalAlign: 'middle' }} sx={{
fontSize: ICON_SIZE,
ml: '4px',
position: 'relative',
top: '2px'
}}
/> />
</Cell> </Cell>
<Cell stiff> <Cell stiff>

View File

@@ -2,6 +2,7 @@ import { useEffect, useState } from 'react';
import AddIcon from '@mui/icons-material/Add'; import AddIcon from '@mui/icons-material/Add';
import CancelIcon from '@mui/icons-material/Cancel'; import CancelIcon from '@mui/icons-material/Cancel';
import CircleIcon from '@mui/icons-material/Circle';
import DoneIcon from '@mui/icons-material/Done'; import DoneIcon from '@mui/icons-material/Done';
import RemoveIcon from '@mui/icons-material/RemoveCircleOutlined'; import RemoveIcon from '@mui/icons-material/RemoveCircleOutlined';
import { import {
@@ -273,7 +274,15 @@ const SchedulerDialog = ({
} }
label={LL.ACTIVE()} label={LL.ACTIVE()}
/> />
<CircleIcon
color={editItem.active ? 'success' : 'error'}
sx={{
fontSize: 16,
mt: '12px'
}}
/>
</Grid> </Grid>
<Grid container> <Grid container>
{needsTimeField ? ( {needsTimeField ? (
<> <>