diff --git a/src/themes/basic/_layout.styl b/src/themes/basic/_layout.styl index 7ae3c772b..785f91ea4 100644 --- a/src/themes/basic/_layout.styl +++ b/src/themes/basic/_layout.styl @@ -219,7 +219,7 @@ main.hidden top 0 bottom 0 left 0 - transition transform 250ms ease-out + transition transform 250ms ease-out, visibility 250ms width $sidebar-width z-index 20 @@ -411,6 +411,7 @@ body.sticky body.close .sidebar + visibility hidden transform translateX(- $sidebar-width) .sidebar-toggle @@ -439,8 +440,9 @@ body.close overflow-x hidden .sidebar + visibility hidden left - $sidebar-width - transition transform 250ms ease-out + transition transform 250ms ease-out, visibility 250ms .content left 0 @@ -459,6 +461,7 @@ body.close body.close .sidebar + visibility visible transform translateX($sidebar-width) .sidebar-toggle