fix(input): 输入栏 + 按钮改 SVG 图标,修复视觉重心偏下
原为裸文本 + 字形(font-size 20px),flex 居中的是行框而非字形光学 中心,hover 背景块下可见偏下。改用项目既有 SVG 加号(16x16,stroke 2), 与 WorkspaceSwitcher 同路径。
This commit is contained in:
parent
011f9e14bc
commit
4b78fd6d40
@ -308,8 +308,22 @@
|
|||||||
data-tutorial="quick-menu-open"
|
data-tutorial="quick-menu-open"
|
||||||
@click.stop="$emit('toggle-quick-menu')"
|
@click.stop="$emit('toggle-quick-menu')"
|
||||||
:disabled="!isConnected"
|
: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>
|
</button>
|
||||||
<div class="agent-type-switcher" :class="{ 'is-disabled': agentTypeLocked }">
|
<div class="agent-type-switcher" :class="{ 'is-disabled': agentTypeLocked }">
|
||||||
<button
|
<button
|
||||||
|
|||||||
@ -886,10 +886,6 @@ body[data-theme='light'] {
|
|||||||
background: var(--hover-bg);
|
background: var(--hover-bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.add-btn {
|
|
||||||
font-size: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.stadium-btn.send-btn {
|
.stadium-btn.send-btn {
|
||||||
background: var(--accent);
|
background: var(--accent);
|
||||||
color: var(--on-accent);
|
color: var(--on-accent);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user