Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Page content's padding is not adjusted when fixed header elements changes its height due to a media query #5619
When using a fixed and persistent header that has several fixed height values for different screen states (i.e. media query) the
See this demo fiddle and change the width of the viewport: the
I think this is indeed a regression.
pushed a commit
Mar 29, 2013
I worked around it by checking if the arg is an event or not before considering it a page. I'm unsure though if it'd be better to find a way to pass the page as an argument instead and avoid this check.
Either way, it's fixed now and we could land this and optimize later if desirable.
Let me know if it looks good to merge!