This commit is contained in:
parent
25ceb46911
commit
cbdf5e667d
1 changed files with 5 additions and 4 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue