responsive-nav.js
responsive-nav.js copied to clipboard
padding seems to be ignored by savedHeight
I have a navigation that has a padding.
The max-height
defined by Responsive Nav with savedHeight
seem to ignore this padding, resulting in an element that is taller than needed when open.
Seen on both Firefox and Chrome on my Mac.
I also have a similar issue with the max-height defined by Responsive Nav. I also think it's something to do with the padding but my savedHeight is too short, not too tall, hiding some of the last li elements from view. I've fiddled with it for hours but can't resolve yet.
It's probably just the CSS I'm using for my menu doesn't work with the max-height calculation. Or it could be because I'm using a Typekit font maybe.
@nhoizey Did you have the padding on .nav-collapse element? https://github.com/viljamis/responsive-nav.js#things-to-keep-in-mind