Styling Properties in Anvil Editor Override Role Even with additional CSS properties

While !important tag is bad in the long run, since Anvil roles are specially made for a particular group of components, I think it’s okay to use them at times.

Also, sometimes you can make the CSS properties work without using the !important tag. Take a look at this post Custom CSS Role for TextBox not working

1 Like