Skip to content
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

feat: add wrap theme to vertical-layout #8128

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

DiegoCardoso
Copy link
Contributor

Description

Adds a new wrap theme to vaadin-vertical-layout that simply sets the flex-wrap CSS property on the element to wrap, allowing elements to move to the next line, if there's no space left.

Part of #7949

Type of change

  • Bugfix
  • Feature

Copy link

sonarcloud bot commented Nov 11, 2024

Copy link
Contributor Author

@DiegoCardoso DiegoCardoso Nov 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I tested it locally, the vaadin-vertical-layout element expanded horizontally to fit "Item 2" when it wrapped, but for some reason, it is not expanding here.

@DiegoCardoso DiegoCardoso merged commit f31d9af into main Nov 13, 2024
9 checks passed
@DiegoCardoso DiegoCardoso deleted the feat/vertical-layout/wrap-theme branch November 13, 2024 14:30
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.6.0.alpha4 and is also targeting the upcoming stable 24.6.0 version.

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.

4 participants