feat(app): copy buttons for assistant messages and code blocks
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user