diff --git a/src/index.styl b/src/index.styl index 3f0254a..43372c6 100644 --- a/src/index.styl +++ b/src/index.styl @@ -270,7 +270,7 @@ $expandSize = 7px bottom:0 background: alpha(white, .8) transition: all .3s ease - z-index: 2 + z-index: -1 opacity: 0 pointer-events: none @@ -288,6 +288,7 @@ $expandSize = 7px &.-active opacity: 1 + z-index: 2 pointer-events: all > div transform: translateY(50%)