fixed mobile background layout

This commit is contained in:
ManjaroOne666 2019-01-30 17:43:09 +00:00
parent 1cc635119e
commit 727b975867
1 changed files with 5 additions and 4 deletions

View File

@ -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;
}
}