diff --git a/apps/antalmanac/src/components/Calendar/Toolbar/CustomEventDialog/CustomEventDialog.tsx b/apps/antalmanac/src/components/Calendar/Toolbar/CustomEventDialog/CustomEventDialog.tsx index 5269e166a..d0a317c7e 100644 --- a/apps/antalmanac/src/components/Calendar/Toolbar/CustomEventDialog/CustomEventDialog.tsx +++ b/apps/antalmanac/src/components/Calendar/Toolbar/CustomEventDialog/CustomEventDialog.tsx @@ -4,10 +4,9 @@ import { Dialog, DialogActions, DialogContent, + DialogTitle, FormControl, IconButton, - Input, - InputLabel, TextField, Tooltip, } from '@mui/material'; @@ -167,38 +166,50 @@ function CustomEventDialogs(props: CustomEventDialogProps) { )} - + + + Add a Custom Event + - - Event Name - + + -
+ @@ -211,7 +222,7 @@ function CustomEventDialogs(props: CustomEventDialogProps) { />
- + diff --git a/apps/antalmanac/src/components/Calendar/Toolbar/CustomEventDialog/DaySelector.tsx b/apps/antalmanac/src/components/Calendar/Toolbar/CustomEventDialog/DaySelector.tsx index c8c875a1f..489f9cc1e 100644 --- a/apps/antalmanac/src/components/Calendar/Toolbar/CustomEventDialog/DaySelector.tsx +++ b/apps/antalmanac/src/components/Calendar/Toolbar/CustomEventDialog/DaySelector.tsx @@ -30,8 +30,11 @@ const DaySelector = ({ days = [false, false, false, false, false, false, false], sx={{ display: 'flex', flexDirection: 'row', - justifyContent: 'center', - padding: 5, + justifyContent: 'space-evenly', + marginTop: 10, + marginBottom: 10, + marginLeft: -5, + marginRight: -5, }} > {normal_days.map((day, index) => ( @@ -45,8 +48,9 @@ const DaySelector = ({ days = [false, false, false, false, false, false, false], color={isDark ? 'default' : 'primary'} style={{ margin: 5, + width: 40, maxWidth: 40, - minWidth: 40, + minWidth: 20, aspectRatio: 1, }} > diff --git a/apps/antalmanac/src/components/Calendar/Toolbar/CustomEventDialog/ScheduleSelector.tsx b/apps/antalmanac/src/components/Calendar/Toolbar/CustomEventDialog/ScheduleSelector.tsx index e87169d58..5f63bade5 100644 --- a/apps/antalmanac/src/components/Calendar/Toolbar/CustomEventDialog/ScheduleSelector.tsx +++ b/apps/antalmanac/src/components/Calendar/Toolbar/CustomEventDialog/ScheduleSelector.tsx @@ -1,6 +1,8 @@ import Checkbox from '@material-ui/core/Checkbox'; +import FormControl from '@material-ui/core/FormControl'; import FormControlLabel from '@material-ui/core/FormControlLabel'; import FormGroup from '@material-ui/core/FormGroup'; +import FormLabel from '@material-ui/core/FormLabel'; import type { RepeatingCustomEvent } from '@packages/antalmanac-types'; import { PureComponent } from 'react'; @@ -39,24 +41,29 @@ class ScheduleSelector extends PureComponent - {this.props.scheduleNames.map((name, index) => { - return ( - - } - label={name} - key={name} - /> - ); - })} - + + + Select schedules + + + {this.props.scheduleNames.map((name, index) => { + return ( + + } + label={name} + key={name} + /> + ); + })} + + ); } }