mirror of
https://github.com/NovaOSS/nova-betterchat.git
synced 2024-11-25 22:13:59 +01:00
fix folder's new chat button quickly disappear (#201)
This commit is contained in:
parent
b4f3789060
commit
cda88d85f9
|
@ -28,7 +28,7 @@ const NewChat = ({ folder }: { folder?: string }) => {
|
||||||
title={folder ? String(t('newChat')) : ''}
|
title={folder ? String(t('newChat')) : ''}
|
||||||
>
|
>
|
||||||
{folder ? (
|
{folder ? (
|
||||||
<div className='max-h-0 parent-sibling-hover:max-h-10 parent-sibling-hover:py-3 px-3 overflow-hidden transition-all duration-200 delay-500 text-sm flex gap-3 items-center text-gray-100'>
|
<div className='max-h-0 parent-sibling-hover:max-h-10 hover:max-h-10 parent-sibling-hover:py-3 hover:py-3 px-3 overflow-hidden transition-all duration-200 delay-500 text-sm flex gap-3 items-center text-gray-100'>
|
||||||
<PlusIcon /> {t('newChat')}
|
<PlusIcon /> {t('newChat')}
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
|
|
Loading…
Reference in a new issue