From 64c4f512ced8c353a99edd77d6d03cc58cd3a4ba Mon Sep 17 00:00:00 2001 From: Yidadaa Date: Wed, 28 Jun 2023 01:15:55 +0800 Subject: [PATCH] fixup: #2149 chat action button style --- app/components/chat.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 06b32147b..6db5eb2b6 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -316,6 +316,8 @@ function ChatAction(props: { props.onClick(); setTimeout(updateWidth, 1); }} + onMouseEnter={updateWidth} + onTouchStart={updateWidth} style={ { "--icon-width": `${width.icon}px`,