Skip to content

Commit

Permalink
fix CSS-in-JS warning about content without quotes (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
IndProgo committed May 15, 2024
1 parent 38e317e commit 921f883
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/form/style/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ========================
Expand Down

0 comments on commit 921f883

Please sign in to comment.