Skip to content

Commit c0e652d

Browse files
committed
#3133 fixed height and width override props
1 parent da977c1 commit c0e652d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/frontend/src/components/TimeSlot.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ const TimeSlot: React.FC<TimeSlotProps> = ({
3535
return (
3636
<Box
3737
sx={{
38-
height: (heightOverride ?? small) ? '25px' : '4.7vh',
39-
width: (widthOverride ?? small) ? '81px' : '12.2%',
38+
height: heightOverride ?? (small ? '25px' : '4.7vh'),
39+
width: widthOverride ?? (small ? '81px' : '12.2%'),
4040
backgroundColor,
4141
cursor: onMouseEnter ? 'pointer' : undefined,
4242
borderStyle: 'solid',

0 commit comments

Comments
 (0)