You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When hosting on a none RTD site (specifically on GitHub pages in this case) the addition of the rtd-footer-container results in a scroll bar on the primary sidebar even when the length of the list is significantly shorter than the page. Modifying the html of the page and removing the rtd-footer-container fixes this behavior.
The text was updated successfully, but these errors were encountered:
andrewcoughtrie
changed the title
Additional vertical scroll bar as a result of rtd-footer-container on none RTD hosted sites
Addition of a vertical scroll bar as a result of rtd-footer-container on none RTD hosted sites
Apr 29, 2024
thanks for reporting. I think that div is supposed to be suppressed if it's empty, so the fact that it still shows up is definitely something we should fix. (or if we're not trying to suppress it, then we should be!)
Read the Docs recently rolled out its new "addons" project. This broke
assumptions made by code in our theme.
In particular, it means that all of the code that tries to move the Read
the Docs version switcher into the sidebar no longer works, so this pull
request removes all of that code and updates the docs.
I also removed the check for Read the Docs in the Ethical Ads template
because as far as I understand, that template is opt-in anyway, meaning
that sites that use our theme do not have that template included by
default.
Fixes#1794 and
possibly #1238.
This pull request does not address
#1933, which is
about providing a better integration with Read the Docs. The only goal
of this pull request is to remove code that is broken as a result of the
addons rollout.
When hosting on a none RTD site (specifically on GitHub pages in this case) the addition of the
rtd-footer-container
results in a scroll bar on the primary sidebar even when the length of the list is significantly shorter than the page. Modifying the html of the page and removing thertd-footer-container
fixes this behavior.The text was updated successfully, but these errors were encountered: