summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-02-20 19:37:30 -0600
committerAdam <[email protected]>2026-02-20 19:37:35 -0600
commitb75a27d43e7b4d39621e7d6a00840e0a7d98e3b2 (patch)
treecbaf6b4115a4c7464966aa2af7ddd57ec84befd4
parente77b2cfd61b02c369b1aa6a586761cde9d0dc53e (diff)
downloadopencode-b75a27d43e7b4d39621e7d6a00840e0a7d98e3b2.tar.gz
opencode-b75a27d43e7b4d39621e7d6a00840e0a7d98e3b2.zip
chore: cleanup
-rw-r--r--packages/ui/src/components/message-part.css20
1 files changed, 19 insertions, 1 deletions
diff --git a/packages/ui/src/components/message-part.css b/packages/ui/src/components/message-part.css
index 3415c034c..07a718141 100644
--- a/packages/ui/src/components/message-part.css
+++ b/packages/ui/src/components/message-part.css
@@ -490,8 +490,10 @@
}
[data-component="edit-content"] {
+ border-radius: inherit;
border-top: 1px solid var(--border-weaker-base);
max-height: 420px;
+ overflow-x: hidden;
overflow-y: auto;
scrollbar-width: none;
@@ -500,15 +502,24 @@
&::-webkit-scrollbar {
display: none;
}
+
+ [data-component="diff"] {
+ border-radius: inherit;
+ overflow: hidden;
+ }
}
[data-component="write-content"] {
+ border-radius: inherit;
border-top: 1px solid var(--border-weaker-base);
max-height: 240px;
+ overflow-x: hidden;
overflow-y: auto;
[data-component="code"] {
- padding-bottom: 0px !important;
+ padding-bottom: 0 !important;
+ border-radius: inherit;
+ overflow: hidden;
}
/* Hide scrollbar */
@@ -1285,6 +1296,8 @@
}
[data-component="apply-patch-file-diff"] {
+ border-radius: inherit;
+ overflow-x: hidden;
overflow-y: auto;
scrollbar-width: none;
-ms-overflow-style: none;
@@ -1292,6 +1305,11 @@
&::-webkit-scrollbar {
display: none;
}
+
+ [data-component="diff"] {
+ border-radius: inherit;
+ overflow: hidden;
+ }
}
[data-component="tool-loaded-file"] {