mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2024-11-22 08:31:28 +00:00
Avoid fullscreen scrollbar
This commit is contained in:
parent
6aeb69fb37
commit
8b2fb2d466
|
@ -4,6 +4,7 @@
|
||||||
padding-bottom: 1.5em;
|
padding-bottom: 1.5em;
|
||||||
background: $black url(/img/index-bg.jpg) center center no-repeat;
|
background: $black url(/img/index-bg.jpg) center center no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.i-sidebar + .main__container {
|
.i-sidebar + .main__container {
|
||||||
|
@ -267,6 +268,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: $mq-medium) {
|
@media screen and (max-width: $mq-medium) {
|
||||||
|
.main__container {
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
.grid__item {
|
.grid__item {
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
.sidebar {
|
.sidebar {
|
||||||
background-color: $black;
|
background-color: $black;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: relative;
|
position: absolute;
|
||||||
z-index: $zIndex--4;
|
z-index: $zIndex--4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue