add transition on interaction

This commit is contained in:
CREDO23 2025-10-22 14:43:51 +02:00 committed by thierryverse
parent bc512ec089
commit 9085cb2d27

View file

@ -48,13 +48,13 @@ export default function ChatInterface({
</div> </div>
<div <div
className={cn( className={cn(
"border rounded-2xl shrink-0 flex flex-col h-full", "border rounded-2xl shrink-0 flex flex-col h-full transition-all",
isChatPannelOpen ? "w-72" : "w-14" isChatPannelOpen ? "w-72" : "w-14"
)} )}
> >
<div <div
className={cn( className={cn(
"w-full border-b p-2 flex items-center ", "w-full border-b p-2 flex items-center transition-all ",
isChatPannelOpen ? "justify-end" : " justify-center " isChatPannelOpen ? "justify-end" : " justify-center "
)} )}
> >