Browse Source

fixup: #2149 chat action button style

Yidadaa 1 year ago
parent
commit
64c4f512ce
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/components/chat.tsx

+ 2 - 0
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`,