Skip to main content
1-Visitor
Jul 13, 2018 4:15 PM UTC
Question

!important CSS Flag

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
Jul 13, 2018 7:46 PM UTC

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.

Translate