fix: validate CHRNX editorial fallbacks

This commit is contained in:
chrnx committed 2026-08-11 15:37:25 -05:00
1 parent 89dcc53e02
commit 52f08a1efd
8 files changed
+232 -17

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
.chrnx-related-card__image,
.chrnx-related-card__fallback {
aspect-ratio: 3 / 2;
display: block;
object-fit: cover;
width: 100%;
}
.chrnx-related-card__fallback {
background-color: var(--wp--preset--color--panel);
background-image:
linear-gradient(30deg, transparent 35%, color-mix(in srgb, var(--wp--preset--color--green) 65%, transparent) 36% 40%, transparent 41%),
linear-gradient(135deg, var(--wp--preset--color--violet), var(--wp--preset--color--night));
min-height: 10rem;
}