Merge pull request #181 from PaulAdamDavis/fix-nav-overflow

Fix menu button overflow
This commit is contained in:
John O'Nolan 2015-03-02 18:04:15 +02:00
commit 9339635abd

View File

@ -476,6 +476,7 @@ margin on the iframe, cause it breaks stuff. */
} }
body.nav-opened .site-wrapper { body.nav-opened .site-wrapper {
overflow-x: hidden;
-webkit-transform: translate3D(-240px, 0, 0); -webkit-transform: translate3D(-240px, 0, 0);
-ms-transform: translate3D(-240px, 0, 0); -ms-transform: translate3D(-240px, 0, 0);
transform: translate3D(-240px, 0, 0); transform: translate3D(-240px, 0, 0);
@ -529,7 +530,7 @@ body.nav-opened .nav-cover {
top: 0; top: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
z-index: 50; z-index: 5;
width: 240px; width: 240px;
opacity: 0; opacity: 0;
background: #111; background: #111;