fixed mobile background layout
This commit is contained in:
parent
1cc635119e
commit
727b975867
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue