responsive-nav.js icon indicating copy to clipboard operation
responsive-nav.js copied to clipboard

padding seems to be ignored by savedHeight

Open nhoizey opened this issue 10 years ago • 3 comments

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.

nhoizey avatar Aug 04 '14 17:08 nhoizey

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.

joshbiz avatar Jan 13 '15 22:01 joshbiz

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.

joshbiz avatar Jan 15 '15 18:01 joshbiz

@nhoizey Did you have the padding on .nav-collapse element? https://github.com/viljamis/responsive-nav.js#things-to-keep-in-mind

arielsalminen avatar Apr 02 '15 17:04 arielsalminen