Skip to content

Commit d60696d

Browse files
committed
ui: tighten scroll thumb and review padding
Keep the scroll thumb visually slim (4px) while preserving a 12px drag target, and remove extra right padding in session review content.
1 parent 4c2aa4a commit d60696d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/ui/src/components/scroll-view.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
.scroll-view__thumb {
1919
position: absolute;
20-
right: 1px;
20+
right: 0;
2121
top: 0;
2222
width: 12px;
2323
transition: opacity 200ms ease;
@@ -33,7 +33,7 @@
3333
transform: translateX(-50%);
3434
top: 0;
3535
bottom: 0;
36-
width: 6px;
36+
width: 4px;
3737
border-radius: 9999px;
3838
background-color: var(--border-weak-base);
3939
backdrop-filter: blur(4px);

packages/ui/src/components/session-review.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
[data-slot="session-review-container"] {
1919
flex: 1 1 auto;
20-
padding-right: 4px;
20+
padding-right: 0;
2121
}
2222

2323
[data-slot="session-review-header"] {

0 commit comments

Comments
 (0)