feat(app): copy buttons for assistant messages and code blocks

This commit is contained in:
Adam
2026-01-22 06:29:33 -06:00
parent 4ca088ed12
commit fb007d6bab
8 changed files with 282 additions and 9 deletions

View File

@@ -209,6 +209,24 @@
gap: 4px;
align-self: stretch;
[data-slot="session-turn-response"] {
position: relative;
width: 100%;
}
[data-slot="session-turn-response-copy-wrapper"] {
position: absolute;
top: 8px;
right: 8px;
opacity: 0;
transition: opacity 0.15s ease;
z-index: 1;
}
[data-slot="session-turn-response"]:hover [data-slot="session-turn-response-copy-wrapper"] {
opacity: 1;
}
p {
font-size: var(--font-size-base);
line-height: var(--line-height-x-large);