mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 07:29:16 +00:00
## Problem - on kb topic pages the guide row text is misaligned vs tab title - community guide row shows the favicon and the author before the title leading to inconsistence when among other list items - kb guide list and the docs code tabs each keep a copy of the folder tab indicator ## Solution - extracts the folder tab indicator to `ui` + the curve variables to the shared tailwind config - changes the tab corner to follow the active tab because chrome does not update a `:has()` rule on the tabs root - fixes the square corner + the background flash on the active kb tab before hydration - changes the kb guide rows to align with the tab labels + adds padding to the tabs and the row hover - moves the community favicon and author after the title | before | after | | -------|------| | <img width="2304" height="1533" alt="image" src="https://github.com/user-attachments/assets/585a1b1c-0314-4708-818c-69b324028d18" /> | <img width="2304" height="1517" alt="image" src="https://github.com/user-attachments/assets/5eb9614f-1873-42ed-86f4-1f7c8fa5e4f6" /> | <!-- ## 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. --> ## Review instructions 1. open the live and preview [/kb/topics/database](https://kb-git-antlio-kb-guide-tabs-supabase.vercel.app/kb/topics/database) 2. make sure that the row titles start at the same position as the "All" tab label ## 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) --------- Co-authored-by: alexisintech <98043211+alexisintech@users.noreply.github.com>
8 lines
155 B
CSS
8 lines
155 B
CSS
.codeblock-drop-shadow {
|
|
filter: var(--drop-shadow-codeblock, none);
|
|
}
|
|
|
|
.code-sample-source :is(.shiki, .code-sample-surface) {
|
|
@apply notch-corner;
|
|
}
|