From 724feba5fddddd3027de9f124009812b014ebdc3 Mon Sep 17 00:00:00 2001 From: sunhao Date: Fri, 30 Aug 2024 09:41:28 +0800 Subject: [PATCH] * menu: clip title in menu item. --- lib/menu/src/style/menu-item.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/menu/src/style/menu-item.css b/lib/menu/src/style/menu-item.css index b34d7822d1..2966e2d2ae 100644 --- a/lib/menu/src/style/menu-item.css +++ b/lib/menu/src/style/menu-item.css @@ -19,6 +19,6 @@ .menu-item.disabled > a:hover { @apply -bg-inherit -text-inherit; } -.menu-item > a > .item-title { - @apply -flex-auto; +.menu-item .item-title { + @apply -flex-auto -min-w-0 -whitespace-nowrap -overflow-hidden -text-clip; }