Fix sidebar menu rendering to work in iOS Safari and other browsers

This commit is contained in:
crockwave 2020-06-15 19:49:38 -05:00
parent 6de623127c
commit 09bcb4336b

View file

@ -3,7 +3,7 @@
position: fixed; position: fixed;
flex-direction: column; flex-direction: column;
width: 275px; width: 275px;
height: 100vh; //height: 100vh;
top: 0; top: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
@ -30,12 +30,15 @@
} }
&__content { &__content {
display: flex; //display: flex;
flex: 1 1; //flex: 1 1;
flex-direction: column; //flex-direction: column;
padding-bottom: 40px; //padding-bottom: 40px;
overflow-y: scroll; overflow-y: scroll;
-webkit-overflow-scrolling: touch; overflow: auto;
height: 100%;
width: 100%;
//-webkit-overflow-scrolling: touch;
} }
&__section { &__section {