瀏覽代碼

fixup: #2149 chat action button style

Yidadaa 1 年之前
父節點
當前提交
64c4f512ce
共有 1 個文件被更改,包括 2 次插入0 次删除
  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`,