captaincoffee / p218

2018 Upgrade
MIT License
0 stars 0 forks source link

Dropdown Menu not scrollable on small screens #31

Open captaincoffee opened 5 years ago

captaincoffee commented 5 years ago

I noticed that on small screens where the menu extends below the screen it is not scrollable. You can see it in smaller phones set to landscape orientation. I tried to implement a fix per: https://stackoverflow.com/questions/52713344/responsive-fixed-top-navbar-when-expanded-fills-up-screen-hides-some-of-the-nav#

but it is in consistent. I have it commented out in main.scss

Do you have a reliable fix?

captaincoffee commented 5 years ago

Opps, I haven't yet pushed it. From main.scss

body { margin-top: 55px; // overflow: hidden; }

// Per https://www.codeply.com/go/1KXwX3I1Mh // To fix scroll on menu when menu items extend beyond screen // May need overflow: hidden on body class // .fixed-top .navbar-collapse { // max-height: calc(100vh - 4.5em); // overflow-y: auto; // }