diff options
| author | Adam <[email protected]> | 2026-02-05 07:02:31 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2026-02-05 07:03:29 -0600 |
| commit | 05529f66d7bbf4b210c14c205dccf3a6942ddd0d (patch) | |
| tree | 0d77f44afed02124d5728b4cc017a6a44e03c906 /packages/ui/src/components/session-turn.css | |
| parent | ef09dddaa5ea7a533fa2042068761cd4a9cbcb35 (diff) | |
| download | opencode-05529f66d7bbf4b210c14c205dccf3a6942ddd0d.tar.gz opencode-05529f66d7bbf4b210c14c205dccf3a6942ddd0d.zip | |
fix(app): copy buttons smaller and out of the way
Diffstat (limited to 'packages/ui/src/components/session-turn.css')
| -rw-r--r-- | packages/ui/src/components/session-turn.css | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/packages/ui/src/components/session-turn.css b/packages/ui/src/components/session-turn.css index 840fde05f..4b8ba8d7a 100644 --- a/packages/ui/src/components/session-turn.css +++ b/packages/ui/src/components/session-turn.css @@ -219,22 +219,28 @@ gap: 4px; align-self: stretch; + [data-slot="session-turn-summary-title-row"] { + width: 100%; + display: flex; + align-items: center; + justify-content: space-between; + gap: 12px; + } + [data-slot="session-turn-response"] { - position: relative; width: 100%; } [data-slot="session-turn-response-copy-wrapper"] { - position: absolute; - top: 8px; - right: 8px; opacity: 0; + pointer-events: none; transition: opacity 0.15s ease; - z-index: 1; } - [data-slot="session-turn-response"]:hover [data-slot="session-turn-response-copy-wrapper"] { + &:hover [data-slot="session-turn-response-copy-wrapper"], + &:focus-within [data-slot="session-turn-response-copy-wrapper"] { opacity: 1; + pointer-events: auto; } p { |
