fix(Select): text overflow in tag mode (#51605)

This commit is contained in:
Guo Yunhe 2024-11-13 14:57:11 +08:00 committed by GitHub
parent 34b01ec077
commit 3aee945ed9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -61,5 +61,6 @@
"5.21.0": [
"https://github.com/ant-design/ant-design/issues/50960",
"https://github.com/ant-design/ant-design/issues/50969"
]
],
"5.22.0": ["https://github.com/ant-design/ant-design/issues/51601"]
}

View File

@ -232,6 +232,11 @@ const genSelectionStyle = (
},
},
[`${componentCls}-selection-wrap`]: {
width: '100%',
overflow: 'hidden',
},
// ======================== Selections ========================
[`${componentCls}-selection-item`]: {
height: multipleSelectorUnit.itemHeight,