context
When the screen size is between 1200 px and 990 px, both secondary-toggle and bd-sidebar-secondary are not visable, so there is no TOC.
expectation
I expected either secondary-toggle or bd-sidebar-secondary to be visible.
bug
But instead, neither were visible when the screen size was between 1200 px and 990 px.
This is the secondary-toggle, whereas issue #721 is the primary toggle.
I came across this issue when trying to find a way to always show the secondary-toggle and allow bd-sidebar-secondary to toggle regardless of screen size. This is a very useful feature for large screens too. I would also like pst-back-to-top to be visible for large screens. Please consider making these configurable options in conf.py.
Reproduce the bug
To isolate the environment, I created a new Sphinx-MyST project and added one document.
While viewing the html output in Firefox and Chrome browsers, I grabbed the right-side of the browser window and pulled it left. As I pulled the window left, bd-sidebar-secondary disappeared but the secondary-toggle did not appear. This range was 1200px to 990px.
I took snapshots of the browser window and ruler at the various points:
List your environment
Sphinx 7.2.6
Sphinx Book Theme 1.1.2
Linux Arch/Manjaro
Describe the bug
context When the screen size is between 1200 px and 990 px, both
secondary-toggle
andbd-sidebar-secondary
are not visable, so there is no TOC.expectation I expected either
secondary-toggle
orbd-sidebar-secondary
to be visible.bug But instead, neither were visible when the screen size was between 1200 px and 990 px.
This is the secondary-toggle, whereas issue #721 is the primary toggle.
I came across this issue when trying to find a way to always show the
secondary-toggle
and allowbd-sidebar-secondary
to toggle regardless of screen size. This is a very useful feature for large screens too. I would also likepst-back-to-top
to be visible for large screens. Please consider making these configurable options inconf.py
.Reproduce the bug
To isolate the environment, I created a new Sphinx-MyST project and added one document.
conf.py changes:
Ran
make clean; make html
.While viewing the html output in Firefox and Chrome browsers, I grabbed the right-side of the browser window and pulled it left. As I pulled the window left,
bd-sidebar-secondary
disappeared but thesecondary-toggle
did not appear. This range was 1200px to 990px.I took snapshots of the browser window and ruler at the various points:
List your environment
Sphinx 7.2.6 Sphinx Book Theme 1.1.2 Linux Arch/Manjaro