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

borderRadius does not work with integer (needs string with px) #160

Open
fdietze opened this issue Mar 3, 2017 · 2 comments
Open

borderRadius does not work with integer (needs string with px) #160

fdietze opened this issue Mar 3, 2017 · 2 comments

Comments

@fdietze
Copy link

fdietze commented Mar 3, 2017

works:

borderRadius := "3px"

doesn't work:

borderRadius := 3
@lihaoyi
Copy link
Member

lihaoyi commented Mar 10, 2017

fontSize suffers the same problem

@leonardehrenfried
Copy link

I was just bitten by this.

This results in a very hard to track down NPE in the browser. Could the error message be at at least be a little improved?

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

3 participants