[PR #8533] [MERGED] docs: sidebar navigation accordion text tracking #24946

Closed
opened 2026-04-15 22:38:51 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8533
Author: @Rudraksh88
Created: 3/10/2026
Status: Merged
Merged: 3/10/2026
Merged by: @himself65

Base: canaryHead: canary


📝 Commits (1)

  • 5e3f620 fix: sidebar navigation accordion text tracking

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 landing/components/docs/docs-sidebar.tsx (+1 -1)

📄 Description

The accordion is inheriting wider tracking from the parent div (meant for other buttons with all-caps monospaced titles). This makes the accordion titles/labels look weird. Fixed that by adding tracking-normal class to the section title.

Here's how it looks:
before-after-comparison


Summary by cubic

Fixes the docs sidebar accordion label spacing by overriding inherited wide tracking. Adds tracking-normal to the section title span so text renders with correct letter-spacing and stays consistent with other items.

Written for commit 5e3f62038c. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/8533 **Author:** [@Rudraksh88](https://github.com/Rudraksh88) **Created:** 3/10/2026 **Status:** ✅ Merged **Merged:** 3/10/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `canary` --- ### 📝 Commits (1) - [`5e3f620`](https://github.com/better-auth/better-auth/commit/5e3f62038cd96ef46f673d439946e60028c01cfb) fix: sidebar navigation accordion text tracking ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `landing/components/docs/docs-sidebar.tsx` (+1 -1) </details> ### 📄 Description The accordion is inheriting wider tracking from the parent div (meant for other buttons with all-caps monospaced titles). This makes the accordion titles/labels look weird. Fixed that by adding `tracking-normal` class to the section title. Here's how it looks: <img width="3200" height="1790" alt="before-after-comparison" src="https://github.com/user-attachments/assets/9cc4cc3d-0a28-41e4-9e70-592c9b2b667f" /> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fixes the docs sidebar accordion label spacing by overriding inherited wide tracking. Adds `tracking-normal` to the section title span so text renders with correct letter-spacing and stays consistent with other items. <sup>Written for commit 5e3f62038cd96ef46f673d439946e60028c01cfb. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 22:38:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#24946