From 154046695f1beb70afa2dbbfe9a5757e84de89fc Mon Sep 17 00:00:00 2001 From: Matchu Date: Mon, 18 Jan 2021 06:51:23 -0800 Subject: [PATCH] Avoid alt text flash of content for item thumbnail --- src/app/components/SquareItemCard.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/components/SquareItemCard.js b/src/app/components/SquareItemCard.js index 8e46379..53812a6 100644 --- a/src/app/components/SquareItemCard.js +++ b/src/app/components/SquareItemCard.js @@ -39,6 +39,11 @@ function SquareItemCard({ item, ...props }) { height={80} className={css` border-radius: ${theme.radii.md}; + + /* Don't let alt text flash in while loading */ + &:-moz-loading { + visibility: hidden; + } `} loading="lazy" />