mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 19:35:53 +08:00
improve: menu collapse readability (#4099)
Co-authored-by: rongjun.qiu <qiurj@hengtonggroup.com.cn>
This commit is contained in:
parent
03cf00422a
commit
94a650475d
@ -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…
x
Reference in New Issue
Block a user