Avoid alt text flash of content for item thumbnail

This commit is contained in:
Emi Matchu 2021-01-18 06:51:23 -08:00
parent b78cede939
commit 154046695f

View file

@ -39,6 +39,11 @@ function SquareItemCard({ item, ...props }) {
height={80} height={80}
className={css` className={css`
border-radius: ${theme.radii.md}; border-radius: ${theme.radii.md};
/* Don't let alt text flash in while loading */
&:-moz-loading {
visibility: hidden;
}
`} `}
loading="lazy" loading="lazy"
/> />