Fixed sidenav scroll not working

This commit is contained in:
Keplyx 2019-05-18 10:24:41 +02:00
parent 10f6a3b88a
commit 6a26644495

View file

@ -2,6 +2,7 @@
.sidenav {
height: 100%;
overflow-y: hidden;
width: 300px;
transform: translateX(-270px); /* change margin with JavaScript */
position: fixed; /* Stay in place */
@ -15,6 +16,7 @@
.sidenav.sidenav-open {
transform: translateX(0);
overflow-y: auto;
}