Skip to content

The open source coding agent.

TypeScript

ui: widen scroll thumb hit area

David Hill4c2aa4ab9071
diff --git a/packages/ui/src/components/scroll-view.css b/packages/ui/src/components/scroll-view.css
index f81ae297664..91458fca5cd 100644
--- a/packages/ui/src/components/scroll-view.css
+++ b/packages/ui/src/components/scroll-view.css
@@ -17,9 +17,9 @@
.scroll-view__thumb {
position: absolute;
- right: 0;
+ right: 1px;
top: 0;
- width: 16px;
+ width: 12px;
transition: opacity 200ms ease;
cursor: default;
user-select: none;
@@ -29,7 +29,8 @@
.scroll-view__thumb::after {
content: "";
position: absolute;
- right: 4px;
+ left: 50%;
+ transform: translateX(-50%);
top: 0;
bottom: 0;
width: 6px;