1
0
Fork 0
mirror of https://ark.sudovanilla.org/Korbs/Pandora.git synced 2024-12-22 19:13:52 +00:00

Update Image component

This commit is contained in:
Korbs 2024-12-04 14:00:07 -05:00
parent b931de200a
commit 593180a002

View file

@ -18,12 +18,8 @@ const {
fit={Fit} fit={Fit}
format={Format} format={Format}
quality={Quality} quality={Quality}
onload="this.style.opacity = '1'" onload="this.style.transition = '1s opacity, 1s box-shadow'; this.style.opacity = '1'"
inferSize inferSize
/> />
<style> <style>img {opacity: 0}</style>
img {
opacity: 0; /* Fade in when it's loaded, see "onload" in component */
}
</style>