mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-17 11:07:11 +08:00
fix(desktop): stop send button icon flicker
This commit is contained in:
@@ -390,7 +390,7 @@ const ChatInput = forwardRef<ChatInputHandle, ChatInputProps>(function ChatInput
|
|||||||
<button
|
<button
|
||||||
onClick={handleSubmit}
|
onClick={handleSubmit}
|
||||||
disabled={!canSend}
|
disabled={!canSend}
|
||||||
className="flex-shrink-0 w-10 h-10 flex items-center justify-center rounded-btn bg-accent text-white hover:bg-accent-hover disabled:bg-surface-2 disabled:text-content-disabled disabled:cursor-not-allowed cursor-pointer transition-colors"
|
className="flex-shrink-0 w-[42px] h-[42px] flex items-center justify-center rounded-btn bg-accent text-white hover:bg-accent-hover disabled:bg-surface-2 disabled:text-content-disabled disabled:cursor-not-allowed cursor-pointer transition-none [&_*]:transition-none"
|
||||||
title={t('chat_send')}
|
title={t('chat_send')}
|
||||||
>
|
>
|
||||||
<PaperPlaneIcon size={15} />
|
<PaperPlaneIcon size={15} />
|
||||||
|
|||||||
Reference in New Issue
Block a user