Skip to main content
1-Visitor
July 13, 2018
Question

!important CSS Flag

  • July 13, 2018
  • 1 reply
  • 1344 views

Has the !important flag been disallowed in recent releases of Thingworx?

 

Example:

#label-15 {
font-size: 48pt !important;
}

 

In Thingworx 7.x and 8.0, the above worked.

 

Using Thingworx Version 8.2.5

1 reply

5-Regular Member
July 13, 2018

It's not disallowed -- it just gives a warning in the linter; you can still save the Mashups/CSS and it will still work correctly. I'll send some feedback on this, because the linter settings probably should at least be configurable.