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 "other" unit support #4

Open
MathyouMB opened this issue Jun 20, 2021 · 2 comments
Open

Width and Height "other" unit support #4

MathyouMB opened this issue Jun 20, 2021 · 2 comments

Comments

@MathyouMB
Copy link

Currently we can only specify the width and height using pixels. It would be cool if there was someway we could also support rem, percentages, view based units, etc.

@MathyouMB
Copy link
Author

MathyouMB commented Jun 30, 2021

I realised that if you do not include width or height and instead specify width and height in the style property, you can use whichever unit you would like.

Maybe it makes sense to instead remove width and height so that people know to instead use style?

@karamalie
Copy link
Contributor

karamalie commented Sep 29, 2021

Noted. will take the feedback into consideration while working on future updates.
Thank you

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