From ac5bb7cbebc38450034bce7286e692d055399112 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sat, 7 Sep 2024 21:48:09 +0800 Subject: [PATCH] fix: Dropdown cannot wrap correctly when out of screen edge (#50752) --- components/dropdown/style/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/dropdown/style/index.ts b/components/dropdown/style/index.ts index e807a147c3..ae0b56dbc9 100644 --- a/components/dropdown/style/index.ts +++ b/components/dropdown/style/index.ts @@ -256,7 +256,7 @@ const genBaseStyle: GenerateStyle = (token) => { // =========================== Item =========================== [`${menuCls}-item, ${menuCls}-submenu-title`]: { - clear: 'both', + display: 'flex', margin: 0, padding: `${unit(paddingBlock!)} ${unit(controlPaddingHorizontal)}`, color: token.colorText,