Browse Source

improve: menu collapse readability (#4099)

Co-authored-by: rongjun.qiu <qiurj@hengtonggroup.com.cn>
Rhon Joe 11 months ago
parent
commit
94a650475d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      web/app/components/app-sidebar/navLink.tsx

+ 1 - 0
web/app/components/app-sidebar/navLink.tsx

@@ -48,6 +48,7 @@ export default function NavLink({
         'group flex items-center h-9 rounded-md py-2 text-sm font-normal',
         mode === 'expand' ? 'px-3' : 'px-2.5',
       )}
+      title={mode === 'collapse' ? name : ''}
     >
       <NavIcon
         className={classNames(