Skip to content

Commit 2ffc354

Browse files
committed
calendars on right side scroll
1 parent 41d796b commit 2ffc354

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/frontend/src/pages/CalendarPage/CalendarPage.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,9 @@ const NewCalendarPage: React.FC<NewCalendarPageProps> = ({
686686
sx={{
687687
display: 'flex',
688688
flexDirection: 'column',
689-
flexShrink: 0
689+
flex: 1,
690+
minHeight: 0,
691+
overflow: 'hidden'
690692
}}
691693
>
692694
<Stack
@@ -734,6 +736,8 @@ const NewCalendarPage: React.FC<NewCalendarPageProps> = ({
734736
{calendars.length > 0 && (
735737
<Box
736738
sx={{
739+
flex: 1,
740+
minHeight: 0,
737741
overflowY: 'auto',
738742
overflowX: 'hidden',
739743
p: 2,

0 commit comments

Comments
 (0)