StackedRouter: fix page width
All checks were successful
/ depoly (push) Successful in 1m21s

This commit is contained in:
thislight 2024-11-23 21:22:23 +08:00
parent 25ceb46911
commit cbdf5e667d
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E

View file

@ -13,6 +13,8 @@ dialog.StackedPage {
padding: 0; padding: 0;
overscroll-behavior: none; overscroll-behavior: none;
width: 560px; width: 560px;
max-width: 100vw;
max-width: 100dvw;
max-height: 100vh; max-height: 100vh;
max-height: 100dvh; max-height: 100dvh;
/* /*
@ -29,8 +31,8 @@ dialog.StackedPage {
display: none; display: none;
contain: strict; contain: strict;
contain-intrinsic-size: auto 560px auto 100vh; contain-intrinsic-size: 560px 100vh;
contain-intrinsic-size: auto 560px auto 100dvh; contain-intrinsic-size: 560px 100dvh;
content-visibility: auto; content-visibility: auto;
background: var(--tutu-color-surface); background: var(--tutu-color-surface);
@ -47,11 +49,10 @@ dialog.StackedPage {
contain-intrinsic-size: 100vw 100vh; contain-intrinsic-size: 100vw 100vh;
contain-intrinsic-size: 100dvw 100dvh; contain-intrinsic-size: 100dvw 100dvh;
} }
} }
&[open] { &[open] {
display: contents; display: block;
} }
&::backdrop { &::backdrop {