Avoid fullscreen scrollbar

This commit is contained in:
lostinlight 2018-06-03 19:18:00 +03:00
parent 6aeb69fb37
commit 8b2fb2d466
2 changed files with 6 additions and 1 deletions

View file

@ -4,6 +4,7 @@
padding-bottom: 1.5em;
background: $black url(/img/index-bg.jpg) center center no-repeat;
background-size: cover;
overflow: hidden;
}
.i-sidebar + .main__container {
@ -267,6 +268,10 @@
}
@media screen and (max-width: $mq-medium) {
.main__container {
overflow-y: scroll;
}
.grid__item {
flex-wrap: wrap;
}

View file

@ -2,7 +2,7 @@
.sidebar {
background-color: $black;
text-align: center;
position: relative;
position: absolute;
z-index: $zIndex--4;
}