From acf73c9af8c131b24fb53e7d394425a9b46a9a85 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 17 Jul 2024 04:13:18 +0800 Subject: [PATCH] fix: Dropdown menu item get wrapped at edge (#49899) --- components/dropdown/style/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/components/dropdown/style/index.ts b/components/dropdown/style/index.ts index db1b1aa859..0eaf9beef1 100644 --- a/components/dropdown/style/index.ts +++ b/components/dropdown/style/index.ts @@ -211,6 +211,7 @@ const genBaseStyle: GenerateStyle = (token) => { position: 'relative', display: 'flex', alignItems: 'center', + whiteSpace: 'nowrap', }, [`${menuCls}-item-icon`]: {