Avoid alt text flash of content for item thumbnail
This commit is contained in:
parent
b78cede939
commit
154046695f
1 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue