-
Notifications
You must be signed in to change notification settings - Fork 70
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
How to use the customStyle property #62
Comments
|
@kasnti That would result in exactly the same thing. But while I was trying your code I noticed that the problem was within my own code. If I remove the semicolons it works. This is how Vue is expecting it and what I did wrong. <avatar :customStyle="{ height: '7vw', width: '7vw' }" username="Jane Doe"></avatar> |
@Tarabass you are right |
Thank you for pointing me into the right direction 😝 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For now the size accepts only numbers. I want to be able to use
7vw
instead of70px
. My idea was to use this::customStyle="{ height: '7vw !important;', width: '7vw !important;' }"
But it doesn't work :(
The text was updated successfully, but these errors were encountered: