scalatags icon indicating copy to clipboard operation
scalatags copied to clipboard

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

Open fdietze opened this issue 8 years ago • 2 comments

works:

borderRadius := "3px"

doesn't work:

borderRadius := 3

fdietze avatar Mar 03 '17 16:03 fdietze

fontSize suffers the same problem

lihaoyi avatar Mar 10 '17 10:03 lihaoyi

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?

leonardehrenfried avatar Sep 22 '17 09:09 leonardehrenfried