Closed jesstelford closed 4 years ago
Hey mate, typescript isn't happy passing a number
to the regex test
function, just need to parse to a string before testing it
🤦 I couldn't replicate the failure locally and had no idea what was going wrong... Turns out I was still on the master
branch 🤦
Thank you for the pointer. Should be fixed now 🤞
Thank you sir 🙇
Specifying a width with any unit other than
px
results in the following:ie; it always appends
px
.This change uses the assumption that when the width value ends in a number, it is an implicit
px
value, otherwise, it leaves it alone and uses the exact value supplied for display.