summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/line-comment.css
diff options
context:
space:
mode:
authorDavid Hill <[email protected]>2026-01-24 23:08:54 +0000
committerDavid Hill <[email protected]>2026-01-24 23:09:22 +0000
commit93e948ae1241051744b19cec7cec23063db6c534 (patch)
treec4560db0094a01bbda947816097a0c9469df4a48 /packages/ui/src/components/line-comment.css
parent8714b1a3acf036f8b860425dfc1dc2858dcfee00 (diff)
downloadopencode-93e948ae1241051744b19cec7cec23063db6c534.tar.gz
opencode-93e948ae1241051744b19cec7cec23063db6c534.zip
fix(ui): ensure comment popover appears above other comment icons
Diffstat (limited to 'packages/ui/src/components/line-comment.css')
-rw-r--r--packages/ui/src/components/line-comment.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/ui/src/components/line-comment.css b/packages/ui/src/components/line-comment.css
index 52bd00030..36fb14c64 100644
--- a/packages/ui/src/components/line-comment.css
+++ b/packages/ui/src/components/line-comment.css
@@ -4,6 +4,10 @@
z-index: var(--line-comment-z, 30);
}
+[data-component="line-comment"][data-open] {
+ z-index: var(--line-comment-open-z, 100);
+}
+
[data-component="line-comment"] [data-slot="line-comment-button"] {
width: 20px;
height: 20px;