fix(chat): make send button circular

This commit is contained in:
2026-06-17 15:54:05 +08:00
parent a6ee0d5e24
commit f7201fa654
2 changed files with 5 additions and 4 deletions
@@ -2,10 +2,11 @@
.button {
flex: 0 0 auto;
width: 48px;
width: 40px;
height: 40px;
aspect-ratio: 1 / 1;
border: 0;
border-radius: 9999px;
border-radius: 50%;
background: var(--color-button-gradient-end, #fc69df);
color: #fff;
cursor: pointer;
+2 -2
View File
@@ -8,9 +8,9 @@
* - 默认:粉色背景 + 渐变边缘
* - 聚焦 / 激活:完整 primaryGradientaccent → 透明)
*
* 图标:lucide-react <Send />tree-shakablecurrentColor 继承父 color
* 图标:lucide-react <ArrowUp />tree-shakablecurrentColor 继承父 color
*/
import { ArrowUp, Send } from "lucide-react";
import { ArrowUp } from "lucide-react";
import styles from "./chat-send-button.module.css";