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
Is your feature request related to a problem? Please describe.
Thanks so much for the component! It would be great to have the option for a responsive image size (without srcSets) that sets the image to be contained within the parent.
Describe the solution you'd like
Perhaps a boolean prop that sets the image to 100% height and width of the parent, with the object-fit set to contain.
Describe alternatives you've considered
This styling could be applied via custom styles or classes to the image.
The text was updated successfully, but these errors were encountered:
Can you elaborate? We have put the image gallery in a flexbox, and do not want the width to extend past that. Adding a set width to the img elements, along with an aspect ratio, would really help.
Is your feature request related to a problem? Please describe.
Thanks so much for the component! It would be great to have the option for a responsive image size (without srcSets) that sets the image to be contained within the parent.
Describe the solution you'd like
Perhaps a boolean prop that sets the image to 100% height and width of the parent, with the object-fit set to contain.
Describe alternatives you've considered
This styling could be applied via custom styles or classes to the image.
The text was updated successfully, but these errors were encountered: