We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da977c1 commit c0e652dCopy full SHA for c0e652d
1 file changed
src/frontend/src/components/TimeSlot.tsx
@@ -35,8 +35,8 @@ const TimeSlot: React.FC<TimeSlotProps> = ({
35
return (
36
<Box
37
sx={{
38
- height: (heightOverride ?? small) ? '25px' : '4.7vh',
39
- width: (widthOverride ?? small) ? '81px' : '12.2%',
+ height: heightOverride ?? (small ? '25px' : '4.7vh'),
+ width: widthOverride ?? (small ? '81px' : '12.2%'),
40
backgroundColor,
41
cursor: onMouseEnter ? 'pointer' : undefined,
42
borderStyle: 'solid',
0 commit comments