Closed lukeramsden closed 7 years ago
I'd like to add, it used to work with class, but it doesn't now, so it must be the latest version that broke it.
And, it seems to be only certain styles that don't apply (or do apply). padding
, border-*
and background-color
work on the class, but not color
.
Hey @lukeramsden , you should be using the class
property. With the recent changes cssClass
property has been deprecated.
@PeterStaev Really? Was that 2.5? EDIT: Wow, that was added in 1.4.0, but the docs I followed for 2.3 still said cssClass... Thanks! Also, the problem with the styling seems to be a problem with the new tns run
functionality, because it started working again after a clean build.
@lukeramsden, glad it worked even w/ the old property! Yes, it has been marked depreciated for a while 😄
Actual Behavior
When styling
#dd
, it works fine, but when styling.input
the styles aren't applied,