Skip to content

Commit 678975f

Browse files
committed
Adjust calendar spacing and size
1 parent f8dcf43 commit 678975f

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

front/src/features/calendar/CalendarPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const CalendarPage = () => {
124124

125125
<Box
126126
m="14px auto 20px"
127-
maxW="1600px"
127+
maxW="1400px"
128128
p={{ base: '0', md: '10px 30px' }}
129129
w={{ base: '90%', md: '100%' }}
130130
>

front/src/features/calendar/DesktopCalendarEventPopover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const DesktopCalendarEventPopover = (props: Props) => {
113113
</Text>
114114
</Flex>
115115
)}
116-
{runtime && !isMulipleEvent && (
116+
{!!runtime && !isMulipleEvent && (
117117
<Flex align="center" gap="2px">
118118
<Icon
119119
alignSelf="center"

front/src/theme/globalCss.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ const customColors = {
66
const whiteWithOpacity = (opacity: number) => `rgba(255, 255, 255, ${opacity})`;
77

88
const desktopCalendarStyles = {
9-
// Height of each table row. Setting this height along with
10-
// <FullCalendar height="auto" /> seems like a good balance.
9+
// Height of each table row. Works with `height: auto` on <FullCalendar>.
1110
'.fc-scrollgrid tbody:first-of-type tr': {
12-
height: '170px',
11+
height: 'clamp(90px, 15vh, 190px)',
1312
},
1413

1514
// Add vertical space between calendar events

0 commit comments

Comments
 (0)