Closed will-moore closed 6 years ago
It works as described in the header. I do not doubt this is an improvement.
Still, see the thumbs in parade and webclient below. I think it is fine, but just in case we cannot do any better (the parade forces the image into the square thumb, although it is very high and not very wide). http://web-dev-merge.openmicroscopy.org/webclient/?show=image-97104 user-4
Parade
Webclient
Fixes the rendering of max-height for Dataset thumbnails, needed when images are taller than they are wide. Previously the
height={iconSizes.height + "px"}
was failing becauseiconSizes
hadmax-height
but notheight
.Before:
After:
To test, view Dataset thumbnails of tall images.