-
-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v4] Sections and fields misalign in combined panel layouts #5935
Comments
Okay, there is an additional twist to the scenario: The top margin on consecutive sections reacts to the window height dynamically while the field gap does not. This is the CSS: --columns-block-gap: clamp(var(--spacing-8),6vh,6rem); The gap between fields is simply defined as: --spacing-8: 2rem; I'm not sure why I'd want to have more space on larger viewports for the one but not the other. |
@bastianallgeier I'd say given that we mix and match sections, fields, columns - it would be better to always use the same vertical gap size |
It's tricky. There are situations where the gap could totally be the same, but often it's simply too narrow. |
Sorry @nilshoerrmann, we have to move it to the next milestone. We want to release 4.0.1 today, but this is too tricky to handle it in the launch week. |
No worries 👍 |
Description
When combining sections and fields, sections get a large top margin while fields do not. This results in unbalanced layouts.
Expected behavior
Fields and section should align nicely.
Screenshots
To reproduce
Blueprint for the given example
Your setup
Kirby Version
Kirby 4 beta 3 – not sure how Kirby 3 does this in comparison.
The text was updated successfully, but these errors were encountered: