Skip to content

Remove toggle-primary-sidebar #1271

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 5 commits into
base: develop
Choose a base branch
from
Open

Conversation

harkgill-amd
Copy link
Contributor

@harkgill-amd harkgill-amd commented May 14, 2025

Re: #1270

The issue reports the sidebar button becomes misaligned with the header/breadcrumbs. I've also seen this in a couple different repos. Here's an example from the ROCdbgapi portal.

image

What's weird is that when the sidebar button is correctly aligned, it toggles the sidebar on and off. When the toggle-primary-sidebar button is misaligned and clicked, it opens a seperate windowed sidebar rather than toggling the existing one.

image

This PR disables the button entirely for the time being.

EDIT: The behaviour changing when misaligned is related to executablebooks/sphinx-book-theme#865

@harkgill-amd harkgill-amd changed the title Testing breadcrumbs issue Remove toggle-primary-sidebar May 14, 2025
@peterjunpark
Copy link
Contributor

peterjunpark commented May 22, 2025

Pinning the pydata-sphinx-theme dep to a version before this bug was introduced executablebooks/sphinx-book-theme#865

The fix seems to work and lgtm... @alexxu-amd are you good with this?

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.

2 participants