!important CSS Flag
Jul 13, 2018
12:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jul 13, 2018
12:15 PM
!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
Labels:
- Labels:
-
Best Practices
-
Coding
-
Security
1 REPLY 1
Jul 13, 2018
03:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jul 13, 2018
03:46 PM
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.