diff --git a/components/_util/cssinjs/transformers/legacyLogicalProperties.ts b/components/_util/cssinjs/transformers/legacyLogicalProperties.ts index a6944d012..58e00c89f 100644 --- a/components/_util/cssinjs/transformers/legacyLogicalProperties.ts +++ b/components/_util/cssinjs/transformers/legacyLogicalProperties.ts @@ -16,14 +16,14 @@ function splitValues(value: string | number) { temp += item; brackets += item.split('(').length - 1; } else if (item.includes(')')) { - temp += item; + temp += ` ${item}`; brackets -= item.split(')').length - 1; if (brackets === 0) { list.push(temp); temp = ''; } } else if (brackets > 0) { - temp += item; + temp += ` ${item}`; } else { list.push(item); }