Explorar o código

fixup: #2149 chat action button style

Yidadaa hai 1 ano
pai
achega
64c4f512ce
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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`,