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

Width and Height to be input as percentage #62

Open
5-k opened this issue Jan 3, 2022 · 1 comment
Open

Width and Height to be input as percentage #62

5-k opened this issue Jan 3, 2022 · 1 comment

Comments

@5-k
Copy link

5-k commented Jan 3, 2022

Currently we need to input width height as numbers, based on different screens they dont fit and overstrech. Wrapping the image slider in bootsrap color range should fix this but since number is still rerquired to provide in height and width, it does not work.
I need to be able to put in like width={100%} height={100%}

@Adee1499
Copy link

Adee1499 commented Apr 1, 2022

Try width={'100%'} and height={'100%'}
Worked for me fine

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

2 participants