dask / dask-sphinx-theme

Sphinx theme for Dask documentation
BSD 3-Clause "New" or "Revised" License
6 stars 15 forks source link

Offset page content #57

Open jrbourbeau opened 2 years ago

jrbourbeau commented 2 years ago

After migrating to the new sphinx-book-theme (xref https://github.com/dask/dask-sphinx-theme/pull/54), I noticed when navigating to a specific subsection of a page, the section title is covered up. For example, previously https://docs.dask.org/en/stable/array-creation.html#concatenation-and-stacking would look like:

Screen Shot 2021-10-07 at 4 16 44 PM

while with the new theme we have:

Screen Shot 2021-10-07 at 4 15 54 PM

(Note the "Concatenation and Stacking" title is covered).

I recall this happening before, even with the old theme, because we didn't account for the width of the top navbar in the Dask theme. This was resolved by https://github.com/dask/dask-sphinx-theme/pull/27. Perhaps we didn't carry that extra CSS over when we switched themes?

cc @jacobtomlinson