Permalink
Browse files

Fix sidebar on systems without transforms

  • Loading branch information...
1 parent d1053a1 commit ac1defe659c98f16c671af8a349e0c7346ea7321 @NielsLeenheer NielsLeenheer committed Nov 27, 2013
Showing with 3 additions and 5 deletions.
  1. +3 −5 css/main.css
View
@@ -291,7 +291,7 @@ body > div#index div#indexmenu {
display: block;
position: fixed;
top: 0px;
- left: 0px;
+ left: -240px;
width: 220px;
height: 100%;
margin: -10px 0px 0px 0px;
@@ -303,14 +303,12 @@ body > div#index div#indexmenu {
-webkit-overflow-scrolling: touch;
overflow-y: auto;
- -webkit-transform: translateX(-240px);
-webkit-transition: -webkit-transform .4s;
- transform: translateX(-240px);
transition: transform .4s;
}
body.indexVisible > div#index div#indexmenu {
- -webkit-transform: translateX(0px);
- transform: translateX(0px);
+ -webkit-transform: translateX(240px);
+ transform: translateX(240px);
}
body > div#index div#indexmenu li {
display: block;

0 comments on commit ac1defe

Please sign in to comment.