KEMBAR78
fix: dialog base styles max-width by jouni · Pull Request #10285 · vaadin/web-components · GitHub
Skip to content

Conversation

@jouni
Copy link
Member

@jouni jouni commented Oct 2, 2025

Restrict dialog max-width to 100%. This affects Confirm Dialog base styles, which override the max-width.

@jouni jouni requested a review from web-padawan October 2, 2025 12:14
@jouni
Copy link
Member Author

jouni commented Oct 2, 2025

Okay, so the unit tests report a different max-width on Firefox and WebKit (min(100%, 100%)) than in Chrome (100%). How do we address that?

@web-padawan
Copy link
Member

I guess we would have to modify tests to accept range of expected values depending on the browser. Will take a closer look tomorrow.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 6, 2025

@jouni jouni merged commit 9af9299 into main Oct 6, 2025
9 checks passed
@jouni jouni deleted the fix/dialog-base-styles branch October 6, 2025 11:26
@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.

4 participants