improve: menu collapse readability (#4099)
Co-authored-by: rongjun.qiu <qiurj@hengtonggroup.com.cn>
This commit is contained in:
parent
03cf00422a
commit
94a650475d
1 changed files with 1 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ export default function NavLink({
|
||||||
'group flex items-center h-9 rounded-md py-2 text-sm font-normal',
|
'group flex items-center h-9 rounded-md py-2 text-sm font-normal',
|
||||||
mode === 'expand' ? 'px-3' : 'px-2.5',
|
mode === 'expand' ? 'px-3' : 'px-2.5',
|
||||||
)}
|
)}
|
||||||
|
title={mode === 'collapse' ? name : ''}
|
||||||
>
|
>
|
||||||
<NavIcon
|
<NavIcon
|
||||||
className={classNames(
|
className={classNames(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue