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.
So it was a bug. We'll fix it in a future release, thanks again for letting us know.
Best AnswerThanks 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.
Best AnswerSo it was a bug. We'll fix it in a future release, thanks again for letting us know.
Best Answer4 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?