Ver Fonte

Fix error in mobile asides

soyjavi há 13 anos atrás
pai
commit
511666dd61

+ 1 - 2
src/stylesheets/lungo.layout.styl

@@ -97,11 +97,10 @@ body
     min-width: ASIDE_WIDTH
     display: none
     z-index: -1
-    &.active
+    &.active, &.show
       display-box()
     &.show
       z-index: 0
-      display-box()
     &.right
       right: 0px
 

+ 0 - 3
src/stylesheets/lungo.media.phone.styl

@@ -10,9 +10,6 @@
 
     & > aside
       position: absolute
-      display: none !important
-      &.show
-        display: block !important
 
     & > section
       display: none

+ 0 - 1
src/stylesheets/lungo.media.tablet.styl

@@ -10,7 +10,6 @@
     & > aside
       width 15%
       transform translateX(-100%)
-
       transition-property transform
       transition-duration TRANSITION_TIME
       &.show