Browse Source

fix scroll on perf node

bach 2 years ago
parent
commit
eecc2109f5

+ 2 - 1
sites/all/themes/gui/perfarttimeline/css/layout.css

@@ -80,7 +80,8 @@ body > img {
   display: none;
 }
 @media (min-width: 800px) {
-  body.front #container > .inner #main {
+  body.front #container > .inner #main,
+  body.node-type-performance #container > .inner #main {
     overflow-x: hidden;
     overflow-y: auto;
     height: 96vh;

+ 2 - 1
sites/all/themes/gui/perfarttimeline/css/styles.css

@@ -120,7 +120,8 @@ body > img {
   display: none;
 }
 @media (min-width: 800px) {
-  body.front #container > .inner #main {
+  body.front #container > .inner #main,
+  body.node-type-performance #container > .inner #main {
     overflow-x: hidden;
     overflow-y: auto;
     height: 96vh;

+ 2 - 1
sites/all/themes/gui/perfarttimeline/less/layout.less

@@ -70,7 +70,8 @@ body.layout-perfnode{
 body>img{display: none;}
 
 @media (min-width:800px) {
-  body.front {
+  body.front,
+  body.node-type-performance {
     #container{
       &>.inner{
         #main{