Skip to content

Commit 921f883

Browse files
authored
fix CSS-in-JS warning about content without quotes (#157)
1 parent 38e317e commit 921f883

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/form/style/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ const genFormStyle = (token: MergedToken): CSSInterpolation => {
6464
[`${componentCls}-item-label > label`]: {
6565
color: colorTextHeading,
6666
'&::after': {
67-
content: ':',
67+
content: '":"',
6868
},
6969
position: 'relative',
7070
top: -0.5,
7171
margin: `0 ${marginXS}px 0 ${marginXXS / 2}px`,
7272
},
7373
[`&${componentCls}-item-no-colon::after`]: {
74-
content: ' ',
74+
content: '" "',
7575
},
7676

7777
// ======================== Form Item ========================

0 commit comments

Comments
 (0)