style: add transition
This commit is contained in:
parent
15d6ed252f
commit
4d5a9476b6
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue