fixup: #2149 chat action button style

This commit is contained in:
Yidadaa 2023-06-28 01:15:55 +08:00
parent 5b1d45c1a9
commit 64c4f512ce

View File

@ -316,6 +316,8 @@ function ChatAction(props: {
props.onClick(); props.onClick();
setTimeout(updateWidth, 1); setTimeout(updateWidth, 1);
}} }}
onMouseEnter={updateWidth}
onTouchStart={updateWidth}
style={ style={
{ {
"--icon-width": `${width.icon}px`, "--icon-width": `${width.icon}px`,