You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observe middle thumbnail example of .thumbnail class on anchor tag
What should happen:
Middle thumbnail image should appear like the first and third/last thumbnail
What happened instead:
--
This happens because the max-width: 100% on the anchor makes the thumbnail "frame" take up the width of the parent container. When the image, at its largest width, is smaller than the container, you get the result above.
This is easily fixable with some extra CSS, but I am not sure if there's a good reason to support having the thumbnail class on the anchor tag because it defeats the purpose if you have to add custom CSS rules to make it work.
The text was updated successfully, but these errors were encountered:
How to reproduce this bug:
.thumbnail
class on anchor tagWhat should happen:
Middle thumbnail image should appear like the first and third/last thumbnail
What happened instead:
--
This happens because the
max-width: 100%
on the anchor makes the thumbnail "frame" take up the width of the parent container. When the image, at its largest width, is smaller than the container, you get the result above.This is easily fixable with some extra CSS, but I am not sure if there's a good reason to support having the thumbnail class on the anchor tag because it defeats the purpose if you have to add custom CSS rules to make it work.
The text was updated successfully, but these errors were encountered: