Give ui image a set max-height #1108
-
So, right now with my cards' image not perfectly aligned without a max height. Currently height is set to auto which give undesirable results. I think it would be more fitting to give the images (small, mini, medium...) image sizes a fixed max-height and max-width rather than width being px and height being auto. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Could you please provide a jsfiddle with your above result? Did you use |
Beta Was this translation helpful? Give feedback.
-
@Bradley-H Is this still affecting you, if it is could you please provide a JSFiddle as @lubber-de has said above. |
Beta Was this translation helpful? Give feedback.
-
Closing because of no response. Will reopen when a reproducable jsfiddle is provided |
Beta Was this translation helpful? Give feedback.
Could you please provide a jsfiddle with your above result? Did you use
ui cards
as a wrapper around your single cards?Usually cards should have the same height and the image adjusts the overall cards height, because the card width is fixed.
See https://jsfiddle.net/1z2oL6c9/
Otherwise image sizes are currently ignored in cards to make sure the images fits the width.