Skip to content

overhaul scrollbar styling across the app#816

Merged
moehdotdev merged 1 commit into
mainfrom
landing-home-uxui-stuff
Jun 16, 2026
Merged

overhaul scrollbar styling across the app#816
moehdotdev merged 1 commit into
mainfrom
landing-home-uxui-stuff

Conversation

@moehdotdev

Copy link
Copy Markdown
Member

two things changed: the global scrollbar colors are now hardcoded hsl values instead of css variables, and all per-component scrollbar classes were migrated from the tailwind-scrollbar plugin utilities to native webkit arbitrary variants.

globals.css:

  • removed the firefox scrollbar-width: thin / scrollbar-color rule on * (firefox now falls back to default)
  • ::-webkit-scrollbar-track background changed from transparent to a hardcoded light value (hsl(0 0% 97.6%))
  • scrollbar thumb colors hardcoded to specific hsl values instead of hsl(var(--muted-foreground)/0.5) and hsl(var(--muted-foreground)) note: these are now fixed and won't adapt to dark mode

per-component scrollbar classes:

  • [&::-webkit-scrollbar]:w-1.5 to [&::-webkit-scrollbar]:w-[0.4rem] (slightly narrower)
  • scrollbar-thumb-border to [&::-webkit-scrollbar-thumb]:bg-border
  • scrollbar-track-transparent to [&::-webkit-scrollbar-track]:bg-transparent
  • scrollbar-gutter-stable added to most scrollable containers to prevent layout shift when the scrollbar appears/disappears

affected: public note page, pdf viewer (search, thumbnails, pages), toc, editor command menu, plus menu, code block language dropdown, app sidebar, breadcrumb, home content layout, move note/pdf dialogs, search dialog, color selector, table controls, skeleton sidebar.

@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
notevo Ready Ready Preview, Comment Jun 16, 2026 2:52pm

@moehdotdev moehdotdev merged commit 37d79a5 into main Jun 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant