Fix pendent styles

This commit is contained in:
the1812 2024-10-21 21:53:40 +08:00
parent 315826f038
commit 7668bd0f05

View File

@ -3,11 +3,13 @@
container-name: avatar;
// .layers:first-child,
.layer:not(:first-child),
.layer:not(:has(picture)) {
.layer:not(:has(picture), :has([style*="/face/"])) {
display: none;
}
.layer:has(picture) {
.layer:is(:has(picture), :has([style*="/face/"])) {
min-width: 100cqw;
min-height: 100cqh;
max-width: 100cqw;
max-height: 100cqh;
}
}