cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

!important CSS Flag

Braden
4-Participant

!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 1
jamesm1
12-Amethyst
(To:Braden)

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.

Announcements


Top Tags