mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-18 08:00:53 +08:00
fix: Dropdown menu item get wrapped at edge (#49899)
This commit is contained in:
parent
ca66d5c592
commit
acf73c9af8
@ -211,6 +211,7 @@ const genBaseStyle: GenerateStyle<DropdownToken> = (token) => {
|
|||||||
position: 'relative',
|
position: 'relative',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
|
whiteSpace: 'nowrap',
|
||||||
},
|
},
|
||||||
|
|
||||||
[`${menuCls}-item-icon`]: {
|
[`${menuCls}-item-icon`]: {
|
||||||
|
Loading…
Reference in New Issue
Block a user