diff --git a/components/ContentPage.vue b/components/ContentPage.vue index 162e748..eea0cb8 100644 --- a/components/ContentPage.vue +++ b/components/ContentPage.vue @@ -38,15 +38,16 @@ $z-index-bottom: 5; $z-index-top: 10; .content-page { - position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; padding: $site-menu__header-width 0 0 0; + overflow-y: auto; @media (min-width: $bp__layout) { padding: 0 0 0 $site-menu__header-width; + overflow-y: hidden; } background-color: $color__neutral-100; @@ -59,13 +60,13 @@ $z-index-top: 10; height: 100%; width: 100%; - overflow-y: auto; - overflow-x: hidden; - @media (min-width: $bp__layout) { position: absolute; top: 0; right: 0; + + overflow-y: auto; + overflow-x: hidden; } }