We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee9ab9e commit bb5669eCopy full SHA for bb5669e
src/runtime/runtimeClient.ts
@@ -106,7 +106,9 @@ export abstract class RuntimeClient {
106
107
css = css.split("\n").map(function(line) {
108
var trimmedLine = line.trim();
109
- if ((line.indexOf("{") !== -1) && (trimmedLine[0] !== "@") && (["from", "to"].indexOf(trimmedLine.split(" ")[0]) === -1)) {
+ if ((line.indexOf("{") !== -1) && // selector line
110
+ ("0123456789@".indexOf(trimmedLine[0]) === -1) && // no animation percentages or @-rules
111
+ (["from", "to"].indexOf(trimmedLine.split(" ")[0]) === -1)) { // exclude animation instructions
112
return trimmedLine.split(",").map(function(section) {
113
return ".application-container > .program " + section;
114
}).join(", ");
0 commit comments