summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/session-turn.css
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-02-05 07:02:31 -0600
committerAdam <[email protected]>2026-02-05 07:03:29 -0600
commit05529f66d7bbf4b210c14c205dccf3a6942ddd0d (patch)
tree0d77f44afed02124d5728b4cc017a6a44e03c906 /packages/ui/src/components/session-turn.css
parentef09dddaa5ea7a533fa2042068761cd4a9cbcb35 (diff)
downloadopencode-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.css18
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 {