08-11-2018 12:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-11-2018 12:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Are you aware that if you add in styles.css multiple classes for same structure then app do not load all css file at all. Is it written somewhere in the documentation?
This code makes styles.css invalid and not loaded at all
.class1, .class2 { fill: "fb-green"; }
This code works fine:
.class1 { fill: "fb-green"; } .class2 { fill: "fb-green"; }
Answered! Go to the Best Answer.
Accepted Solutions
08-13-2018 13:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
08-13-2018 13:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
So it was a bug. We'll fix it in a future release, thanks again for letting us know.

08-13-2018 13:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
08-13-2018 13:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks for letting us know. I need to check with the product team, but I think it may be a limitation more than a bug right now: if it's the case, I'll add it to the documentation and if not, we'll fix it.
The rest of the CSS is loaded, not just the faulty class.

08-13-2018 13:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
08-13-2018 13:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
So it was a bug. We'll fix it in a future release, thanks again for letting us know.

07-09-2022 04:02 - edited 07-09-2022 04:03
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-09-2022 04:02 - edited 07-09-2022 04:03
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
4 years later in 2022, SDK 6.2 and I experience still same bug with ignoring multiple CSS selectors.
So optimizations of the CSS coding is not possible.
Any plans to fix it?
