Closed nilshoerrmann closed 10 months ago
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 :+1:
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.