fixed front scroll
This commit is contained in:
@@ -79,6 +79,14 @@ body.layout-perfnode #timeline-loader {
|
|||||||
body > img {
|
body > img {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@media (min-width: 800px) {
|
||||||
|
body.front #container > .inner #main {
|
||||||
|
overflow-x: hidden;
|
||||||
|
overflow-y: auto;
|
||||||
|
height: 96vh;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
}
|
||||||
@media (max-width: 799px) {
|
@media (max-width: 799px) {
|
||||||
body {
|
body {
|
||||||
overflow: hidden!important;
|
overflow: hidden!important;
|
||||||
|
|||||||
@@ -119,6 +119,14 @@ body.layout-perfnode #timeline-loader {
|
|||||||
body > img {
|
body > img {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@media (min-width: 800px) {
|
||||||
|
body.front #container > .inner #main {
|
||||||
|
overflow-x: hidden;
|
||||||
|
overflow-y: auto;
|
||||||
|
height: 96vh;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
}
|
||||||
@media (max-width: 799px) {
|
@media (max-width: 799px) {
|
||||||
body {
|
body {
|
||||||
overflow: hidden!important;
|
overflow: hidden!important;
|
||||||
|
|||||||
@@ -69,6 +69,21 @@ body.layout-perfnode{
|
|||||||
|
|
||||||
body>img{display: none;}
|
body>img{display: none;}
|
||||||
|
|
||||||
|
@media (min-width:800px) {
|
||||||
|
body.front {
|
||||||
|
#container{
|
||||||
|
&>.inner{
|
||||||
|
#main{
|
||||||
|
overflow-x: hidden;
|
||||||
|
overflow-y: auto;
|
||||||
|
height: 96vh;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width:799px) {
|
@media (max-width:799px) {
|
||||||
body{
|
body{
|
||||||
overflow: hidden!important;
|
overflow: hidden!important;
|
||||||
@@ -107,3 +122,4 @@ body>img{display: none;}
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user