Closed leecalcote closed 9 months ago
@leecalcote I'd like to investigate and fix the issue. Can it please be assigned to me ?
@leecalcote i think either contain or cover can work as in both cases the aspect ratio of the image will not change
Thank you, gents. @ankushbhardwaj408, yes, I think that you're right that both are worth exploring.
Current Behavior
The image carousel component that is used on integration pages (like this one) skews images as they are presented in the side navigator.
Desired Behavior
Ideally, all images have their aspect ratio maintained at all times even if it means cropping an image or making it smaller to fit the given space.
Screenshots / Mockups
Implementation
object-fit
.Acceptance Tests
Contributor Resources and Handbook
The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the
master
branch.Join the Layer5 Community by submitting your community member form.