Skip to content
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

Weird Sidebar Behavior #49

Open
chillerb opened this issue Oct 25, 2024 · 1 comment
Open

Weird Sidebar Behavior #49

chillerb opened this issue Oct 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@chillerb
Copy link

Describe the bug

context
When toggling the primary sidebar...

expectation
...I expected the sidebar to fold in and disappear...

bug
...but instead, the sidebar becomes a weird overlay.

problem
For some reason, the sidebar behaves as expected when building and hosting the book locally.
But when the book is deployed via GitHub Pages, the sidebar behaves weird.
I suspect, the issue is, that some css isn't found.
Perhaps due to the book not being hosted on the root domain.
Maybe I missed something relevant in the config file?
See the repository:
https://github.com/bckrlab/dsc-tutorials

Reproduce the bug

  1. head to https://bckrlab.org/dsc-tutorials/intro.html
  2. toogle the sidebar

List your environment

Python: 3.12

Jupyter Book : 1.0.3
External ToC : 1.0.1
MyST-Parser : 2.0.0
MyST-NB : 1.1.2
Sphinx Book Theme : 1.1.3
Jupyter-Cache : 1.0.0
NbClient : 0.10.0

@chillerb chillerb added the bug Something isn't working label Oct 25, 2024
@chillerb
Copy link
Author

Also, it seems to work correctly in mobile mode?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant