fix(select): prevent label overflow (#52011)

This commit is contained in:
Oyster Lee 2024-12-14 22:52:05 +08:00 committed by GitHub
parent 48f85d6785
commit 615723a5fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -151,6 +151,7 @@ const genBaseStyle: GenerateStyle<SelectToken> = (token) => {
display: 'flex', display: 'flex',
width: '100%', width: '100%',
position: 'relative', position: 'relative',
minWidth: 0,
// https://github.com/ant-design/ant-design/issues/51669 // https://github.com/ant-design/ant-design/issues/51669
'&:after': { '&:after': {