responsive-nav.js
responsive-nav.js copied to clipboard
savedHeight is 1px shorter than the actual height of my navigation
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 vw
in my CSS, leading to rounding issues.
Any advice on how to deal with this?