Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Page content's padding is not adjusted when fixed header elements changes its height due to a media query #5619

@m90

Description

@m90

When using a fixed and persistent header that has several fixed height values for different screen states (i.e. media query) the pages' inline padding-top value (that will push the content down to fit underneath the header element) will not update accordingly.

See this demo fiddle and change the width of the viewport: the page's padding will be stuck with the value that it gets on initialization (min-height will update on $(window).resize() though).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions