From 42bf39e21c9a497aecc3e9b4549e2fc3ba4a1e4a Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Wed, 4 Oct 2023 16:40:16 -0500 Subject: [PATCH] perf(ux): render background color before loading preview image (#1298) --- _sass/addon/commons.scss | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index 65d72c9..d8e6b4a 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -315,9 +315,7 @@ sup { @extend %rounded; &:not(.no-bg) { - img { - background: var(--img-bg); - } + background: var(--img-bg); } img {