fix: Empty style in small width container (#41727)

close #41726
This commit is contained in:
afc163 2023-04-10 13:11:34 +08:00 committed by GitHub
parent 32f8134f4f
commit 4b2c5ded8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 10 deletions

View File

@ -34,6 +34,7 @@ const genSharedEmptyStyle: GenerateStyle<EmptyToken> = (token): CSSObject => {
},
svg: {
maxWidth: '100%',
height: '100%',
margin: 'auto',
},

View File

@ -84,16 +84,6 @@ const genSingleStyle: GenerateStyle<SelectToken> = (token) => {
display: 'none',
},
'&-empty': {
color: token.colorTextDisabled,
},
// ========================= Options =========================
[`${selectItemCls}-empty`]: {
...genItemStyle(token),
color: token.colorTextDisabled,
},
[`${selectItemCls}`]: {
...genItemStyle(token),
cursor: 'pointer',