readthedocs / sphinx_rtd_theme

Sphinx theme from Read the Docs
https://sphinx-rtd-theme.readthedocs.io/
MIT License
4.81k stars 1.74k forks source link

Tune version and language selector styles #1603

Closed agjohnson closed 2 months ago

agjohnson commented 2 months ago

UI issues:

agjohnson commented 2 months ago

image

Inline looks nicer, but it will wrap if the options are long:

image

agjohnson commented 2 months ago

fe58efc gets rid of the FOUC-ish effect while we are still fetching the API response:

Screencast from 2024-09-19 12-09-21.webm

humitos commented 2 months ago

Looks awesome 😎

agjohnson commented 2 months ago

I can't reproduce the second issue there. I'm not sure why it was happening, but it was still displaying the version as a plain text element and it had no padding. This is an issue stemming from local development being a little hard at the moment maybe. We can maybe disregard it for now.