Open corneliusroemer opened 1 week ago
It seems like this is specific to the super small images
It seems like this is specific to the super small images Possible, but could also be related to external domain vs same domain:
I somehow remember the flashing didn't happen for the external images on loculus.org - this could be an Astro default?
good point - yes in that case it's because we don't allow the images to be cached on Astro (allowing that seemed hard but hosting the images somewhere else is easy)
Small visual thing I noticed when testing latest main, the images don't seem to be sized correctly in the CSS initially so they stretch out when loading:
Note I slowed down the recording slightly (factor of 2) to make the effect easier to see.
Current production shows no such scaling effect, instead images flash when reloading.
Maybe the current behavior is on purpose but I think a little CSS magic could fix it probably to not rescale visibly.