Files
supabase/apps/kb/src
anthony lio fa9594b213 feat(kb): use the ui scroll area in the guide sidebar (#54026)
## Problem

- kb article sidebar scrolls as a native `overflow-y-auto` box and shows
the os scroll bar
- kb sidebar shows a wide os bar while the docs sidebar shows the thin
`ui` scroll bar

## Solution

- replaces the native sidebar scroll with the `ui` scroll area, as in
the docs sidebar
- changes the article sidebar to fill the viewport height under the
header

| before | after |
| -------|------|
| <img width="530" height="423" alt="image"
src="https://github.com/user-attachments/assets/93a1ee19-f0d3-4a35-a290-10a133eabe48"
/> |<img width="530" height="423" alt="image"
src="https://github.com/user-attachments/assets/54210c58-5c19-4e1b-840e-21461bc475b8"
/> |

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

1. open the preview
[/kb/guides/migrate-from-auth0](https://kb-git-antlio-kb-guide-sidebar-scroll-area-supabase.vercel.app/kb/guides/migrate-from-auth0)
in safari with a mouse
2. make sure that the sidebar shows the thin scroll bar

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-11-28 13:25:55 +02:00
..
2026-11-24 09:18:11 +02:00
2026-08-31 14:55:04 +00:00