Skip to content

feat: fix blog TOC sidebar height & visibility Closes #2160 #2172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Mohit5Upadhyay
Copy link

What does this PR do?

This PR resolve issue: #2160 from the "On this page" blog sidebar (table of contents) and adjusts the overflow behavior. Previously, long tables of contents were cut off, hiding headings and making the sidebar look broken. The fix allows the sidebar to expand & visible as per needed, ensuring all headings are accessible.

Updated:

appwrite-toc-height.mp4

Test Plan

  • Run the website locally using pnpm run dev

Related PRs and Issues

Closes #2160

Have you read the Contributing Guidelines on issues?

Yes

Copy link

appwrite bot commented Jul 9, 2025

appwrite.io

Project ID: 684969cb000a2f6c0a02

Sites (1)
Site Status Logs Preview QR
 website
68496a17000f03d62013
Failed Failed Authorize Preview URL QR Code

Note

Cursor pagination performs better than offset pagination when loading further pages.

@coolify-appwrite-org
Copy link

coolify-appwrite-org bot commented Jul 9, 2025

The preview deployment failed. 🔴

Open Build Logs

Last updated at: 2025-07-09 09:59:24 CET

@Mohit5Upadhyay
Copy link
Author

hi @stnguyen90 👋

This PR addresses the TOC sidebar overflow issue as described in #2160. This allow the sidebar to show all the heading without hiding anyone.

This is fixed by increasing the max-h-[700px] as per need. Does we need to implement scrollbar ?

Please let me know if any further tweaks are required!, I will be happy to fix that.
Thanks!

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.

🚀 Enhancement: On this page max height
1 participant