[PR #6011] [MERGED] docs: add bottom margin to TOC #6381

Closed
opened 2026-03-13 12:56:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6011
Author: @bytaesu
Created: 11/15/2025
Status: Merged
Merged: 11/15/2025
Merged by: @himself65

Base: canaryHead: 2025-11-16/docs/toc-bottom-margin


📝 Commits (1)

  • 6f8a778 docs: add bottom margin to TOC

📊 Changes

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

View changed files

📝 docs/components/docs/layout/toc.tsx (+1 -1)

📄 Description

Before

https://github.com/user-attachments/assets/24bd1d19-350b-4c20-a042-b7666106706b

After

https://github.com/user-attachments/assets/3a0e869d-2fab-436c-aafc-054eaecadaac


Summary by cubic

Adds a 4rem bottom margin to the docs TOC by subtracting it from --fd-toc-height. Prevents the TOC from touching the bottom of the viewport and keeps the last items visible.

Written for commit 6f8a77885e. Summary will update automatically 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/6011 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 11/15/2025 **Status:** ✅ Merged **Merged:** 11/15/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `2025-11-16/docs/toc-bottom-margin` --- ### 📝 Commits (1) - [`6f8a778`](https://github.com/better-auth/better-auth/commit/6f8a77885eba22c4b7981a898613e162c3aee3f3) docs: add bottom margin to TOC ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/docs/layout/toc.tsx` (+1 -1) </details> ### 📄 Description ### Before https://github.com/user-attachments/assets/24bd1d19-350b-4c20-a042-b7666106706b ### After https://github.com/user-attachments/assets/3a0e869d-2fab-436c-aafc-054eaecadaac <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Adds a 4rem bottom margin to the docs TOC by subtracting it from --fd-toc-height. Prevents the TOC from touching the bottom of the viewport and keeps the last items visible. <sup>Written for commit 6f8a77885eba22c4b7981a898613e162c3aee3f3. Summary will update automatically 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-03-13 12:56:48 -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#6381