fix(editor): Keep the auto offer inside the checks bar (no-changelog)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
emrecaglarid 2026-09-04 09:48:35 +03:00
parent 2074b4f97e
commit d4d7c55b37

View File

@ -190,6 +190,7 @@ async function submitAdd() {
</span>
<!-- Keyed so each label re-mounts and fades in; no Transition wrapper (it tripped the async layout on route change). -->
<span
v-if="!(shouldOfferAuto && !popoverOpen)"
:key="barLabel"
:class="[$style.badgeLabel, $style.fadeIn]"
data-testid="agent-preview-bar-label"
@ -491,11 +492,20 @@ async function submitAdd() {
}
.offerText {
flex: 1 1 auto;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
color: var(--text-color);
font-weight: var(--wireframe--body-weight);
white-space: nowrap;
}
.badge .ghostButton,
.badge .primaryButton {
flex-shrink: 0;
}
.badge_needsEye {
background: color-mix(in srgb, var(--color--warning) 14%, var(--background--surface));
color: var(--color--warning);