From 921f883a01eb9b3fa7ed02f9023945b725ff55aa Mon Sep 17 00:00:00 2001 From: Henry <41792565+IndProgo@users.noreply.github.com> Date: Wed, 15 May 2024 09:28:51 +0300 Subject: [PATCH] fix CSS-in-JS warning about content without quotes (#157) --- src/form/style/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/form/style/index.tsx b/src/form/style/index.tsx index 504c1ab..06e841e 100644 --- a/src/form/style/index.tsx +++ b/src/form/style/index.tsx @@ -64,14 +64,14 @@ const genFormStyle = (token: MergedToken): CSSInterpolation => { [`${componentCls}-item-label > label`]: { color: colorTextHeading, '&::after': { - content: ':', + content: '":"', }, position: 'relative', top: -0.5, margin: `0 ${marginXS}px 0 ${marginXXS / 2}px`, }, [`&${componentCls}-item-no-colon::after`]: { - content: ' ', + content: '" "', }, // ======================== Form Item ========================