Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Height styling not working with percentages #597

Open
akchro opened this issue Aug 5, 2024 · 0 comments
Open

Height styling not working with percentages #597

akchro opened this issue Aug 5, 2024 · 0 comments

Comments

@akchro
Copy link

akchro commented Aug 5, 2024

In the ReactCrop component, setting the height to a constant value like px or rem will change the image size to the desired height. Using a value like 50% on the other hand does not change the image size, even if the container has a constant value.

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

No branches or pull requests

1 participant