pilot: show pipette icon without context label
This commit is contained in:
@@ -4503,13 +4503,13 @@ async function decideFeedCard(card: FeedCard, decision: "accepted" | "rejected")
|
|||||||
class="context-pipette-trigger"
|
class="context-pipette-trigger"
|
||||||
:class="contextPickerEnabled ? 'context-pipette-active' : ''"
|
:class="contextPickerEnabled ? 'context-pipette-active' : ''"
|
||||||
:disabled="pilotTranscribing || pilotSending"
|
:disabled="pilotTranscribing || pilotSending"
|
||||||
|
aria-label="Контекстная пипетка"
|
||||||
:title="contextPickerEnabled ? 'Выключить пипетку' : 'Включить пипетку контекста'"
|
:title="contextPickerEnabled ? 'Выключить пипетку' : 'Включить пипетку контекста'"
|
||||||
@click="toggleContextPicker"
|
@click="toggleContextPicker"
|
||||||
>
|
>
|
||||||
<svg viewBox="0 0 24 24" class="h-3.5 w-3.5 fill-current">
|
<svg viewBox="0 0 24 24" class="h-3.5 w-3.5 fill-current">
|
||||||
<path d="M19.29 4.71a1 1 0 0 0-1.42 0l-2.58 2.58-1.17-1.17a1 1 0 0 0-1.41 0l-1.42 1.42a1 1 0 0 0 0 1.41l.59.59-5.3 5.3a2 2 0 0 0-.53.92l-.86 3.43a1 1 0 0 0 1.21 1.21l3.43-.86a2 2 0 0 0 .92-.53l5.3-5.3.59.59a1 1 0 0 0 1.41 0l1.42-1.42a1 1 0 0 0 0-1.41l-1.17-1.17 2.58-2.58a1 1 0 0 0 0-1.42z" />
|
<path d="M19.29 4.71a1 1 0 0 0-1.42 0l-2.58 2.58-1.17-1.17a1 1 0 0 0-1.41 0l-1.42 1.42a1 1 0 0 0 0 1.41l.59.59-5.3 5.3a2 2 0 0 0-.53.92l-.86 3.43a1 1 0 0 0 1.21 1.21l3.43-.86a2 2 0 0 0 .92-.53l5.3-5.3.59.59a1 1 0 0 0 1.41 0l1.42-1.42a1 1 0 0 0 0-1.41l-1.17-1.17 2.58-2.58a1 1 0 0 0 0-1.42z" />
|
||||||
</svg>
|
</svg>
|
||||||
<span>Контекст</span>
|
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<div v-else class="pilot-context-chips">
|
<div v-else class="pilot-context-chips">
|
||||||
@@ -6417,14 +6417,14 @@ async function decideFeedCard(card: FeedCard, decision: "accepted" | "rejected")
|
|||||||
.context-pipette-trigger {
|
.context-pipette-trigger {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 6px;
|
justify-content: center;
|
||||||
border-radius: 999px;
|
width: 26px;
|
||||||
|
height: 26px;
|
||||||
|
border-radius: 8px;
|
||||||
border: 1px solid rgba(255, 255, 255, 0.28);
|
border: 1px solid rgba(255, 255, 255, 0.28);
|
||||||
background: rgba(255, 255, 255, 0.06);
|
background: rgba(255, 255, 255, 0.06);
|
||||||
color: rgba(245, 247, 255, 0.94);
|
color: rgba(245, 247, 255, 0.94);
|
||||||
padding: 4px 10px;
|
padding: 0;
|
||||||
font-size: 11px;
|
|
||||||
line-height: 1;
|
|
||||||
transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
|
transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user