From 838aa71b4b0bffe5d8a4a36d719c13fef81102fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=9C=E5=86=BB=E6=A9=99?= Date: Thu, 13 Apr 2023 16:39:29 +0800 Subject: [PATCH] fix: cssinjs compatibility (#6454) --- .../_util/cssinjs/transformers/legacyLogicalProperties.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }