mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-17 05:29:44 +02:00
fix(editor): Remove the warning badge from the needs-work agent avatar (no-changelog) (#41164)
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
14e633d481
commit
fffea4c0c0
|
|
@ -66,8 +66,7 @@ const accessibleLabel = computed(() =>
|
|||
role="img"
|
||||
>
|
||||
<N8nIcon :class="$style.icon" :icon="icon" />
|
||||
<span v-if="tone === 'warn'" :class="$style.badge" aria-hidden="true">!</span>
|
||||
<span v-else-if="kind === 'strong'" :class="$style.sparkle" aria-hidden="true">✦</span>
|
||||
<span v-if="kind === 'strong'" :class="$style.sparkle" aria-hidden="true">✦</span>
|
||||
</span>
|
||||
</template>
|
||||
|
||||
|
|
@ -145,23 +144,6 @@ const accessibleLabel = computed(() =>
|
|||
--ring-color: var(--border-color);
|
||||
}
|
||||
|
||||
.badge {
|
||||
position: absolute;
|
||||
top: calc(var(--avatar-size) * -0.1);
|
||||
right: calc(var(--avatar-size) * -0.1);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: calc(var(--avatar-size) * 0.3);
|
||||
height: calc(var(--avatar-size) * 0.3);
|
||||
border-radius: var(--radius--full);
|
||||
background: var(--color--warning);
|
||||
color: var(--color--warning--tint-2);
|
||||
font-size: calc(var(--avatar-size) * 0.28);
|
||||
line-height: 1;
|
||||
font-weight: var(--font-weight--bold);
|
||||
}
|
||||
|
||||
.sparkle {
|
||||
position: absolute;
|
||||
top: calc(var(--avatar-size) * -0.18);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user