Skip to content

fix(toc): remove horizontal overflow due Table of Contents (#23052) #23068

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

Description

This PR fixes the horizontal overflow issue in the Docker Docs Website due to overflow Table of Contents section, as described in #23052.

Changes made:

Updated layout structure and/or styles in:

  • layouts/partials/aside.html
  • layouts/partials/content-default.html

The fix prevents excessive width in the ToC container, which was previously causing the entire page to become horizontally scrollable on certain pages.

Update:

horizontal-overflow-remove.mp4

Related issues or tickets

Closes #23052

Reviews

  • Technical review
  • Editorial review
  • Product review

Notes for reviewers:

  • Let me know if you’d prefer a purely CSS-based solution, or if structural changes are acceptable.
  • Happy to tweak styles, breakpoints, or layout as needed!

Copy link

netlify bot commented Jul 11, 2025

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit d48826c
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6870d3e3d8d8bc000863d6c0
😎 Deploy Preview https://deploy-preview-23068--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot added the hugo Updates related to hugo label Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hugo Updates related to hugo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

There exist a condition of overflow in the " Table of content " section whose width is more that's why the whole website gets horizontally scrollable.
1 participant