From 71d439cca00930d6523cc24ffcc24aebabca0145 Mon Sep 17 00:00:00 2001 From: haitaoo Date: Wed, 15 Mar 2023 11:33:46 +0800 Subject: [PATCH] fix(AccordionNav): Set `text-trancate` for link content --- ui/src/components/AccordionNav/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/components/AccordionNav/index.tsx b/ui/src/components/AccordionNav/index.tsx index 7b63cd50..008054de 100644 --- a/ui/src/components/AccordionNav/index.tsx +++ b/ui/src/components/AccordionNav/index.tsx @@ -20,7 +20,7 @@ function MenuNode({ const href = isLeaf ? `${path}${menu.name}` : '#'; return ( - + - + {menu.displayName ? menu.displayName : t(menu.name)} {menu.badgeContent ? (