feat(desktop): User Message Badges on Hover (#7835)

This commit is contained in:
Daniel Polito
2026-01-11 17:14:26 -03:00
committed by GitHub
parent 025ed04da0
commit 3e9366487a
2 changed files with 44 additions and 1 deletions

View File

@@ -30,6 +30,35 @@
overflow-anchor: none;
}
[data-slot="session-turn-user-badges"] {
display: flex;
flex-shrink: 0;
align-items: center;
gap: 6px;
opacity: 0;
transition: opacity 0.15s ease;
pointer-events: none;
&[data-visible="true"] {
opacity: 1;
pointer-events: auto;
}
}
[data-slot="session-turn-badge"] {
display: inline-flex;
align-items: center;
padding: 2px 6px;
border-radius: 4px;
font-family: var(--font-family-mono);
font-size: var(--font-size-x-small);
font-weight: var(--font-weight-medium);
line-height: var(--line-height-normal);
white-space: nowrap;
color: var(--text-base);
background: var(--surface-raised-base);
}
[data-slot="session-turn-sticky-title"] {
width: 100%;
position: sticky;
@@ -52,7 +81,8 @@
[data-slot="session-turn-message-header"] {
display: flex;
align-items: center;
gap: 8px;
justify-content: space-between;
gap: 12px;
align-self: stretch;
height: 32px;
}