mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 02:46:52 +08:00
improve: menu collapse readability (#4099)
Co-authored-by: rongjun.qiu <qiurj@hengtonggroup.com.cn>
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user