Profile: check container query supports
All checks were successful
/ depoly (push) Successful in 1m25s

This commit is contained in:
thislight 2024-11-23 16:13:42 +08:00
parent 66d0bc8d84
commit 62aaaeee9a
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E

View file

@ -115,7 +115,8 @@
} }
} }
@container StackedPage (inline-size >=960px) { @supports (container-type: inline-size) {
@container StackedPage (inline-size >=960px) {
.Profile { .Profile {
display: grid; display: grid;
grid-template-columns: auto 560px; grid-template-columns: auto 560px;
@ -131,12 +132,12 @@
} }
} }
> .details { >.details {
height: 100%; height: 100%;
display: flex; display: flex;
flex-flow: column nowrap; flex-flow: column nowrap;
> .intro { >.intro {
flex-grow: 1; flex-grow: 1;
} }
} }
@ -151,6 +152,7 @@
} }
} }
} }
}
} }
.Profile__page-title { .Profile__page-title {