Skip to content

Commit 838aa71

Browse files
authored
fix: cssinjs compatibility (#6454)
1 parent 2bf654d commit 838aa71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/_util/cssinjs/transformers/legacyLogicalProperties.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ function splitValues(value: string | number) {
1616
temp += item;
1717
brackets += item.split('(').length - 1;
1818
} else if (item.includes(')')) {
19-
temp += item;
19+
temp += ` ${item}`;
2020
brackets -= item.split(')').length - 1;
2121
if (brackets === 0) {
2222
list.push(temp);
2323
temp = '';
2424
}
2525
} else if (brackets > 0) {
26-
temp += item;
26+
temp += ` ${item}`;
2727
} else {
2828
list.push(item);
2929
}

0 commit comments

Comments
 (0)