Open bspeare opened 1 year ago
Do we want to entertain the idea of a widescreen vs square "shape" cover or am I not thinking responsively?
@joewhitsitt Yes, that could be a good idea!
I guess I can visualize the square cover compared to the default cover screenshot above, but I am not sure what a widescreen cover would look like since the height would be determined by the card content.
That's true. A widescreen ratio quickly becomes something else once the card fills up with text:
Perhaps promising the aspect ratio as part of the cover is not the best solution.
As a user of the card component, I would like to stretch my card image to fill the vertical space of the card using the "cover" shape option that applies the
object-fit
property.Proposed solution
Shape
With padded
Without padded
You can preview this functionality in https://github.com/uiowa/uids/pull/803.