style: add transition

This commit is contained in:
Fred 2024-04-30 19:04:17 +08:00
parent 15d6ed252f
commit 4d5a9476b6
No known key found for this signature in database
GPG Key ID: 4DABDA85EF70EC71
1 changed files with 2 additions and 2 deletions

View File

@ -230,7 +230,7 @@ export function ChatActions(props: {
placement={ind ? "t" : "lt"} placement={ind ? "t" : "lt"}
> >
<div <div
className=" cursor-pointer h-[32px] w-[32px] flex items-center justify-center hover:bg-chat-actions-btn-hovered hover:rounded-action-btn" className=" cursor-pointer h-[32px] w-[32px] flex items-center transition duration-300 ease-in-out justify-center hover:bg-chat-actions-btn-hovered hover:rounded-action-btn"
onClick={act.onClick} onClick={act.onClick}
> >
{act.icon} {act.icon}
@ -250,7 +250,7 @@ export function ChatActions(props: {
placement={ind === arr.length - 1 ? "rt" : "t"} placement={ind === arr.length - 1 ? "rt" : "t"}
> >
<div <div
className=" cursor-pointer h-[32px] w-[32px] flex items-center justify-center hover:bg-chat-actions-btn-hovered hover:rounded-action-btn" className=" cursor-pointer h-[32px] w-[32px] flex items-center transition duration-300 ease-in-out justify-center hover:bg-chat-actions-btn-hovered hover:rounded-action-btn"
onClick={act.onClick} onClick={act.onClick}
> >
{act.icon} {act.icon}