08-11-2018 12:20
08-11-2018 12:20
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.
08-13-2018 13:54
08-13-2018 13:54
So it was a bug. We'll fix it in a future release, thanks again for letting us know.
08-13-2018 13:24
08-13-2018 13:24
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
08-13-2018 13:54
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
07-09-2022 04:02 - edited 07-09-2022 04:03
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?