mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
fix: Dropdown cannot wrap correctly when out of screen edge (#50752)
This commit is contained in:
parent
61e365f313
commit
ac5bb7cbeb
@ -256,7 +256,7 @@ const genBaseStyle: GenerateStyle<DropdownToken> = (token) => {
|
||||
|
||||
// =========================== Item ===========================
|
||||
[`${menuCls}-item, ${menuCls}-submenu-title`]: {
|
||||
clear: 'both',
|
||||
display: 'flex',
|
||||
margin: 0,
|
||||
padding: `${unit(paddingBlock!)} ${unit(controlPaddingHorizontal)}`,
|
||||
color: token.colorText,
|
||||
|
Loading…
Reference in New Issue
Block a user