KEMBAR78
refactor: apply form layout row spacing using margin by jouni · Pull Request #10291 · vaadin/web-components · GitHub
Skip to content

Conversation

@jouni
Copy link
Member

@jouni jouni commented Oct 2, 2025

Merge after #10290

Apply row spacing on all form layout children using margin, similarly as column spacing is applied.

Contain the margin within the host layout, to align it with how the auto-responsive layout works. This is a minor breaking change from earlier versions, that there won't be extra space before the first row and after the last row.

Don't apply the spacing on <vaadin-form-item> which would otherwise add unnecessary space when auto-responsive layout is used (as that uses the native gap property).

@jouni jouni requested a review from web-padawan October 2, 2025 15:06
@web-padawan web-padawan force-pushed the fix/form-layout-row-spacing branch from b60fea9 to fac76a8 Compare October 3, 2025 05:41
@web-padawan web-padawan changed the title fix: form layout row spacing refactor: apply form layout row spacing using margin Oct 3, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 3, 2025

@web-padawan web-padawan merged commit abd9bd4 into main Oct 3, 2025
9 checks passed
@web-padawan web-padawan deleted the fix/form-layout-row-spacing branch October 3, 2025 06:01
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 25.0.0-alpha14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants