wagtail / sphinx-wagtail-theme

Wagtail's documentation theme for Sphinx
https://sphinx-wagtail-theme.readthedocs.io/
MIT License
30 stars 29 forks source link

Table of contents overlaps EthicalAds placement #293

Closed laymonage closed 3 weeks ago

laymonage commented 4 weeks ago

Reported by Onno on the Wagtail Slack: https://wagtailcms.slack.com/archives/C014L7KJH3N/p1729682032889399

ads overlapping with table of contents

Looks like this might be caused by the new readthedocs flyout menu – though I'm not sure as I've been using an adblocker :see_no_evil:

Looks like it's caused by our theme that sets the z-index of the sidebar to be 1020, but the ad's z-index is much lower than that. I see that they've actually increased it, but that's still not enough. We need to fix this on our side by lowering the sidebar's z-index.

This will only be fixed the upcoming versions of the docs though, and older versions will still be affected until we do https://github.com/wagtail/wagtail/discussions/12464.