GeezerVison is showing github.com — feat(web): scrollbars sit 4px in from the pane edge by itssotsot · Pull Request #29293 · pingdotgg/t3code
Conversation
itssotsot
commented
Nov 2, 2026
•
edited by maria-rcks
Loading
Uh oh!
There was an error while loading. Please reload this page.

Vertical scrollbars now sit 4px in from the right edge of each pane instead of flush against it. At the window edge, the OS resize handle often gets the pointer before a flush 6px thumb does, so anyone who drags the scrollbar either misses it or starts a window resize. itssotsot opened this because a physical disability means they can't use a scroll wheel and always drag the scrollbar.
The gap is part of the thumb: a transparent right border with a padding-box background. Pressing in it grabs the thumb instead of jumping the track. This covers native scrollbars, the shared ScrollArea, and the terminal scrollbar, and the painted thumbs keep their width. The Thread details card moves left by the same 4px to keep its gap from the chat scrollbar. Code block horizontal scrollbars stay 6px tall. It's one variable, --app-scrollbar-edge-inset, in index.css, with no setting and no contracts change.
This touches components/ui/scroll-area.tsx, so it needs Theo's approval. The image is the Thread details card in the web dev app at 1440x900; the capture browser hides native scrollbars, so the chat scrollbar isn't pictured. CI is green on 90286dc. Desktop wasn't checked. Mobile uses native overlay scrollbars and doesn't change.
Implemented by Claude Opus 5.5 in Claude Code, then made the default by Claude Opus 5.5 and gpt-6.1-sol in T3 Code, on behalf of Maria.
🤖 Generated with Claude Code
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Approved at 9d7ef46
Macroscope's review found this PR approvable — Adds an optional accessibility setting that moves vertical scrollbar thumbs inward by 4px. It is off by default, preserves existing positioning, and can be disabled or reset without lasting effects.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 2, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

Note
Reviews paused
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.
Use the following commands to manage reviews:
@coderabbitai resume to resume automatic reviews.
@coderabbitai review to trigger a single review.
Use the checkboxes below for quick actions:
- Resume reviews
- Trigger review
No actionable comments were generated in the recent review.
Walkthrough
-
The changes add an edge inset to app scrollbar sizing and thumb styling. They also update UI and Ghostty scrollbar thumbs and offset the thread details card to align with the inset.
Changes: Scrollbar Edge Insets
| Layer / File(s) |
Summary |
Global scrollbar sizing and styling apps/web/src/index.css |
The app scrollbar width now includes a 4px edge inset. Vertical WebKit thumbs use a transparent right border and adjusted corner styling. Chat Markdown code-block scrollbars use a fixed 6px height. |
Component scrollbar and card alignment apps/web/src/components/ui/scroll-area.tsx, apps/web/src/terminal/ghostty/surface.ts, apps/web/src/components/chat/ThreadDetailsCard.tsx |
The UI and Ghostty scrollbar thumbs use transparent borders and edge-inset-aware styling. The thread details card uses the same inset for its right offset. |
Estimated code review effort: 2 (Simple) | ~8 minutes
Change: Feature
Possibly related issues
pingdotgg/t3code issue 6273 describes a targeting conflict between the chat scrollbar and resize controls. This change moves the scrollbar lane inward but does not change the resize controls.
pingdotgg/t3code issue 29986 concerns scrollbar visibility and target size. This change widens the scrollbar lane and adds a transparent hit area, but does not change thumb contrast or idle opacity.
Suggested reviewers: yash-singh1
Merge Risk: Low · up to 90286
-
A floating preview can obscure roughly 4px of the thread details card; the change remains mergeable with a small follow-up to align the obstacle geometry.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
| Title check |
 |
The title clearly summarizes the main change: moving web scrollbars 4px inward from the pane edge. |
| Description check |
 |
The description explains the problem, the implementation, and verification, including the screenshot and checks that were not performed. The Scope and approval section does not include a linked issue … |
Full details: Description check
-
Explanation
The description explains the problem, the implementation, and verification, including the screenshot and checks that were not performed. The Scope and approval section does not include a linked issue or discussion with explicit maintainer approval, or an explanation that the change qualifies as an obvious bug fix.
Finishing Touches
-
Generate unit tests (beta)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info
-
Run configuration
-
Commits
-
Reviewing files that changed from the base of the PR and between 3f0b13c and 90286dc.
Files selected for processing: 2
-
apps/web/src/components/chat/ThreadDetailsCard.tsx
apps/web/src/index.css
Files skipped from review as they are similar to previous changes: 1
-
- apps/web/src/components/chat/ThreadDetailsCard.tsx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
maria-rcks
commented
Nov 2, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Note Written by gpt-6.1-sol on behalf of Maria
Verified in a real dev environment
verified head 2f6be6de1539d25e7e669f3956807435096def48 as-is on linux, using the dev web client, repo playwright, and /usr/bin/google-chrome. reproduced the flush scrollbar on github/main (a036489016) in a separate worktree first. only one dev server ran at a time.
created a real git project through the app and completed real codex gpt-6.1-sol turns on main and the pr. the pr turn used a shell tool to create NOTES.md; opening its response link exercised the real rendered file preview.
- default inset: native lane grows from 6px to 10px; the painted thumb and thread details card move 4px inward. the captures use the same conversation, viewport, scroll position, and crop.
- gap dragging: native chat held at 607 on pointer down and dragged to 763. the base ui file preview held at 100 and dragged to 372. terminal scrollback held at 469 and dragged to 344. no initial track jump in these checks.
- settings search finds the toggle. opt-out survives reload; per-setting reset and restore device defaults enable it again.
- nearby behavior: file-preview track clicks still scroll; terminal home/end/page up/page down work; horizontal code scrolling reaches the far end and stays 6px high with the inset on or off. checked light/dark and 1440px/1024px layouts.
- with the file explorer open, its resize divider owns the outer gap beside it. the painted inset thumb remains draggable (0 to 218); transparent-gap dragging was verified with that explorer hidden.
vp run check:changed 30084f0018c5751a07291222e8d04e16d513700a passed through blacksmith-check: format, lint, knip, affected typechecks, 100 tests across 6 files, and 7 focused react compiler checks. installed the worker's missing chromium prerequisite before the passing run.



Not verified
native desktop shells, macos/windows window resize handles, native ios/android, and relay/tunnel connections were not exercised on this linux vm. the browser proves the inset and pointer behavior; it cannot prove the os resize-handle interaction. no source changes were needed.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
maria-rcks
changed the title
feat(web): add inset scrollbars accessibility setting
feat(web): inset scrollbars by default, with an accessibility toggle to turn them off
Nov 3, 2026
maria-rcks
changed the title
feat(web): inset scrollbars by default, with an accessibility toggle to turn them off
feat(web): inset scrollbars by default
Nov 3, 2026
maria-rcks
changed the title
feat(web): inset scrollbars by default
feat(web): scrollbars sit 4px in from the pane edge
Nov 9, 2026
This was referenced Nov 12, 2026
Note 🤖 Claude Fable 5.2 responding on behalf of Theo
Closing this in favor of #35247.
The inset is a real need, but we do not want it as the default look. That PR lets a theme carry custom CSS, so anyone who needs this can turn it on for themselves. These four rules give the same result, a 10px lane with the thumb 4px in from the edge:
:where(:not(iframe))::-webkit-scrollbar { width: 10px; }
:where(:not(iframe))::-webkit-scrollbar-thumb:vertical { border-right: 4px solid transparent; background-clip: padding-box; }
[data-slot="scroll-area-scrollbar"][data-orientation="vertical"] { width: 10px; }
[data-slot="scroll-area-thumb"][data-orientation="vertical"] { border-right: 4px solid transparent; background-clip: padding-box; }
Tested in the dev app: a press 1.5px from the window edge grabs the thumb with no jump. Once that PR lands, put them in Settings → Appearance → Create theme → Custom CSS, or ask an agent to do it.
Thank you for raising this and for the work here.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
t3dotgg
Awaiting requested review from t3dotgg
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:S
10-29 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|