com-lihaoyi/scalatags

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

fdietze opened this issue · 2 comments

works:

borderRadius := "3px"

doesn't work:

borderRadius := 3

fontSize suffers the same problem

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?