SignIn: applied safe-aera-inset
All checks were successful
/ depoly (push) Successful in 1m3s

This commit is contained in:
thislight 2024-08-05 21:10:48 +08:00
parent 2de1960fb5
commit 9486ac34ea
No known key found for this signature in database
GPG key ID: A50F9451AC56A63E
2 changed files with 5 additions and 2 deletions

View file

@ -138,6 +138,9 @@ const SignIn: Component = () => {
aria-describedby={
currentState() !== "inactive" ? progressId : undefined
}
style={{
padding: `var(--safe-area-inset-top) var(--safe-area-inset-right) var(--safe-area-inset-bottom) var(--safe-area-inset-left)`,
}}
>
<LinearProgress
class={[cards.cardNoPad, cards.cardGutSkip].join(" ")}

View file

@ -12,7 +12,7 @@
}
&:not(.manualMargin) {
& > :not(.cardNoPad) {
&> :not(.cardNoPad) {
margin-inline: var(--card-pad, 20px);
}
@ -20,7 +20,7 @@
margin-top: var(--card-gut, 20px);
}
> .cardGutSkip + *:not(.cardGutSkip) {
>.cardGutSkip+*:not(.cardGutSkip) {
margin-top: var(--card-gut, 20px);
}