fix(input): 输入栏 + 按钮改 SVG 图标,修复视觉重心偏下

原为裸文本 + 字形(font-size 20px),flex 居中的是行框而非字形光学
中心,hover 背景块下可见偏下。改用项目既有 SVG 加号(16x16,stroke 2),
与 WorkspaceSwitcher 同路径。
This commit is contained in:
JOJO 2026-08-12 11:23:41 +08:00
parent 011f9e14bc
commit 4b78fd6d40
2 changed files with 15 additions and 5 deletions

View File

@ -308,8 +308,22 @@
data-tutorial="quick-menu-open"
@click.stop="$emit('toggle-quick-menu')"
:disabled="!isConnected"
aria-label="快捷菜单"
>
+
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width="16"
height="16"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
>
<path d="M5 12h14" /><path d="M12 5v14" />
</svg>
</button>
<div class="agent-type-switcher" :class="{ 'is-disabled': agentTypeLocked }">
<button

View File

@ -886,10 +886,6 @@ body[data-theme='light'] {
background: var(--hover-bg);
}
.add-btn {
font-size: 20px;
}
.stadium-btn.send-btn {
background: var(--accent);
color: var(--on-accent);