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

savedHeight is 1px shorter than the actual height of my navigation

Open nhoizey opened this issue 10 years ago • 0 comments

I have a 1px border at the bottom of the navigation that is hidden because of the max-height computed by Responsive Nav.

If I uncheck the max-height rule in Firefox devtools, the border is shown.

This may be because I use proportional units as em and vwin my CSS, leading to rounding issues.

Any advice on how to deal with this?

nhoizey avatar Aug 04 '14 17:08 nhoizey