perf(ux): render background color before loading preview image (#1298)

This commit is contained in:
Cotes Chung 2023-10-04 16:40:16 -05:00 committed by GitHub
parent 45c2a18884
commit 42bf39e21c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -315,10 +315,8 @@ sup {
@extend %rounded; @extend %rounded;
&:not(.no-bg) { &:not(.no-bg) {
img {
background: var(--img-bg); background: var(--img-bg);
} }
}
img { img {
height: 100%; height: 100%;