Correctly trim strings for css properties

* If a unitless value is passed with a space it'll return `1 px`