diff --git a/components/layout/theme.css b/components/layout/theme.css index 33a36b0c..db483ac7 100644 --- a/components/layout/theme.css +++ b/components/layout/theme.css @@ -70,19 +70,23 @@ } & .panel { + height: calc(100vh - var(--appbar-height)); + max-height: calc(100vh - var(--appbar-height)); top: var(--appbar-height); &:not(.bodyScroll) { - height: calc(100vh - var(--appbar-height)); - max-height: calc(100vh - var(--appbar-height)); overflow-y: scroll; } @media screen and (--xxs-viewport) and (--portrait) { + height: calc(100vh - var(--appbar-height-m-portrait)); + max-height: calc(100vh - var(--appbar-height-m-portrait)); top: var(--appbar-height-m-portrait); } @media screen and (--xs-viewport) and (--landscape) { + height: calc(100vh - var(--appbar-height-m-landscape)); + max-height: calc(100vh - var(--appbar-height-m-landscape)); top: var(--appbar-height-m-landscape); } }