Skip to content

Conversation

@AyushPatiTripathi
Copy link

Summary

This PR fixes a layout inconsistency in the Documentation site header where the
navigation could wrap onto an extra line above the logo, creating unnecessary
vertical spacing. The issue was caused by a redundant Docs-specific header block
being rendered in addition to the global site header.

What changed

  • Removed the redundant documentation-only header block
  • Ensured the global site header is used consistently on Docs pages
  • Prevented unintended flex wrapping at desktop widths

Notes on the theme toggle

While investigating this issue, I noticed that the light/dark mode toggle is not
present on the Issues site. After further inspection, the Issues pages are served
by Trac and do not share Django’s template stack or frontend assets.

I have not attempted to address this in this PR, as it appears to be outside
the scope of the Django site templates. I’m happy to open a follow-up issue or
work on this if there’s interest in coordinating a solution on the Trac side.

Screenshots / Verification

Screenshot From 2025-12-30 21-16-21 Screenshot From 2025-12-30 23-24-03
  • Docs navbar remains on a single line at desktop widths
  • No regression on the main site or other sections

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.

1 participant