Browse Source

fix: empty space-item are not been hidden (#7557)

pull/7632/head
lchrennew 6 months ago committed by GitHub
parent
commit
307148e2df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      components/space/style/index.tsx

2
components/space/style/index.tsx

@ -38,7 +38,7 @@ const genSpaceStyle: GenerateStyle<SpaceToken> = token => {
alignItems: 'baseline',
},
},
[`${componentCls}-space-item`]: {
[`${componentCls}-item`]: {
'&:empty': {
display: 'none',
},

Loading…
Cancel
Save