Commit ceccc86
committed
fix(ui5-dialog): clamp min-width and min-height to viewport at high zoom 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 #117151 parent 5694559 commit ceccc86
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments