Fixed sidebar scroll on mobile

This commit is contained in:
Dan Brown 2017-09-10 13:19:47 +01:00
parent 576a59a693
commit c1627a1468
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -81,6 +81,8 @@ body.flexbox {
box-shadow: none;
transform: translate3d(-330px, 0, 0);
transition: transform ease-in-out 120ms;
display: flex;
flex-direction: column;
}
.flex.sidebar.open {
box-shadow: 1px 2px 2px 1px rgba(0,0,0,.10);
@ -114,6 +116,10 @@ body.flexbox {
opacity: 1;
}
}
.sidebar .scroll-body {
flex: 1;
overflow-y: scroll;
}
#sidebar .scroll-body.fixed {
width: auto !important;
}