feat(deskop): Add Copy to Messages (#7658)

This commit is contained in:
Daniel Polito
2026-01-10 19:01:23 -03:00
committed by GitHub
parent f882cca98a
commit 50ed4c6b5d
4 changed files with 66 additions and 1 deletions

View File

@@ -76,12 +76,25 @@
}
[data-slot="user-message-text"] {
position: relative;
white-space: pre-wrap;
word-break: break-word;
overflow: hidden;
background: var(--surface-base);
padding: 8px 12px;
border-radius: 4px;
[data-slot="user-message-copy-wrapper"] {
position: absolute;
top: 7px;
right: 7px;
opacity: 0;
transition: opacity 0.15s ease;
}
&:hover [data-slot="user-message-copy-wrapper"] {
opacity: 1;
}
}
.text-text-strong {