Skip to content

fix(ui5-dialog): clamp min-width and min-height to viewport at high zoom levels#13438

Open
tsanislavgatev wants to merge 1 commit intomainfrom
dialog-zoom-view
Open

fix(ui5-dialog): clamp min-width and min-height to viewport at high zoom levels#13438
tsanislavgatev wants to merge 1 commit intomainfrom
dialog-zoom-view

Conversation

@tsanislavgatev
Copy link
Copy Markdown
Contributor

At 200% browser zoom, rem-based min-width (20rem) can exceed the 90% max-width constraint, causing the dialog to overflow the viewport and become unusable on small or zoomed screens.

Use CSS min() to cap min-width and min-height against 90vw/90vh so the dialog always fits within the visible area regardless of zoom level.

Fixes #11715

…oom levels

At 200% browser zoom, rem-based min-width (20rem) can exceed the
90% max-width constraint, causing the dialog to overflow the viewport
and become unusable on small or zoomed screens.

Use CSS min() to cap min-width and min-height against 90vw/90vh so
the dialog always fits within the visible area regardless of zoom level.

Fixes #11715
@tsanislavgatev tsanislavgatev requested a review from a team April 27, 2026 16:40
@ui5-webcomponents-bot
Copy link
Copy Markdown
Collaborator

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview April 27, 2026 16:47 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MessageBox]: A11y 300% zoom level support

2 participants