Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

How to have fixed height but auto resize width? #95

Open
xKHUNx opened this issue Sep 16, 2019 · 0 comments
Open

How to have fixed height but auto resize width? #95

xKHUNx opened this issue Sep 16, 2019 · 0 comments

Comments

@xKHUNx
Copy link

xKHUNx commented Sep 16, 2019

I'm trying to have the image slider to have a fixed height, and preserve image ratio, as well as not cropping off the image. I've tried setting the height to a constant number, but the image will just get cutoff instead of scaled.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant