diff --git a/src/components/Calendar/Calendar.styl b/src/components/Calendar/Calendar.styl index 238a4fe..112801f 100644 --- a/src/components/Calendar/Calendar.styl +++ b/src/components/Calendar/Calendar.styl @@ -7,7 +7,11 @@ .main-layout display flex height calc(100vh - 70px) - + +.main-layout.isInIframe + margin-top 8px + height calc(100vh - 8px) + .main-layout.calendar-layout background-color #fff flex-direction row @@ -17,6 +21,16 @@ height 100% overflow hidden +.main-layout.isInIframe .calendar + display flex + flex-direction column + height 100% + overflow hidden + +.main-layout.isInIframe .fc + flex 1 + min-height 0 + .calendarListHeader padding-top 10px display flex diff --git a/src/components/Calendar/Calendar.tsx b/src/components/Calendar/Calendar.tsx index c403aa6..aab4753 100644 --- a/src/components/Calendar/Calendar.tsx +++ b/src/components/Calendar/Calendar.tsx @@ -599,7 +599,9 @@ export default function CalendarApp({ const { t, lang } = useI18n(); return ( -
+