diff options
| author | Adam <[email protected]> | 2026-01-22 06:29:33 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2026-01-22 06:29:38 -0600 |
| commit | fb007d6bab1258ac21f6d9b7efc4b7149499cf8f (patch) | |
| tree | db07d04398b5f072ac211de0cb328135e2ba01be /packages/ui/src/components/session-turn.css | |
| parent | 4ca088ed121c293819f5da13c0d2ff2a616ad597 (diff) | |
| download | opencode-fb007d6bab1258ac21f6d9b7efc4b7149499cf8f.tar.gz opencode-fb007d6bab1258ac21f6d9b7efc4b7149499cf8f.zip | |
feat(app): copy buttons for assistant messages and code blocks
Diffstat (limited to 'packages/ui/src/components/session-turn.css')
| -rw-r--r-- | packages/ui/src/components/session-turn.css | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/ui/src/components/session-turn.css b/packages/ui/src/components/session-turn.css index 034d30247..8ff6be594 100644 --- a/packages/ui/src/components/session-turn.css +++ b/packages/ui/src/components/session-turn.css @@ -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); |
