Describe the bug
I'm not sure if this is intended, but the content breaks the page flow, if it's larger than the viewport height (s. dimensions in the screenshots).
I also find it looking weird, that the scrollbar sits below the header.
To Reproduce
Steps to reproduce the behavior:
Create a panel page that's larger than the viewport.
Open Developer Tools and compare html / body height with ". k-page-view" height.
Expected behavior
The main element should not break the page flow
Screenshots
Kirby Version
3.3.5
Desktop (please complete the following information):
Browser: Chrome v80 (Mac & Win), Edge v18 (Win)
Additional context
Here's a possible change which would keep the content in flow and
sets the scrollbar to scroll (like in the startekit sample) to prevent page jumps if the content gets shorter than the viewport height.
Describe the bug
I'm not sure if this is intended, but the content breaks the page flow, if it's larger than the viewport height (s. dimensions in the screenshots). I also find it looking weird, that the scrollbar sits below the header.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The main element should not break the page flow
Screenshots
Kirby Version
3.3.5
Desktop (please complete the following information):
Additional context
Here's a possible change which would keep the content in flow and sets the scrollbar to scroll (like in the startekit sample) to prevent page jumps if the content gets shorter than the viewport height.
Best,
Cris