FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix sidebarbutton CSS styling by sepehr-rs · Pull Request #332 · python/python-docs-theme · GitHub

Repository navigation

Fix sidebarbutton CSS styling - #332

Closed
sepehr-rs wants to merge 2 commits into
python:mainfrom
sepehr-rs:fix-sidebarbutton
Closed

sepehr-rs wants to merge 2 commits into
python:mainfrom
sepehr-rs:fix-sidebarbutton

Conversation

Copy link
Copy Markdown
Contributor

This PR fixes the sidebar button being reversed, as mentioned in #331. We can remove this once RTL support is added to Sphinx, since the sidebar button is originally managed by Sphinx. Please let me know if any changes are needed!

read-the-docs-community Bot commented Sep 22, 2026 •
edited
Loading

Copy link
Copy Markdown

Comment thread python_docs_theme/static/pydoctheme.css Outdated
Co-authored-by: Stan Ulbrych <stan@python.org>

StanFromIreland commented Sep 23, 2026 •
edited
Loading

Copy link
Copy Markdown
Member

Building the documentation with this change, I'm not sure we need to change anything here?

(I wanted to attach screenshots, but something seems to be wrong and GitHub isn't displaying them.)

« and » are mirrored characters in Unicode so when the text runs right-to-left, the browser automatically switches « for ». Looking at the current documentation, this looks correct for both LTR and RTL. With this PR, it's flipped twice and is wrong.

Maybe this is browser specific, however, in Firefox it is correct.

Copy link
Copy Markdown
Contributor Author

Huh, weird. You're right. In Firefox the button doesn't render correctly, but I checked Chrome just to be sure, and it looks okay there:

I'll close the PR then. Thanks for taking the time to look into it!

sepehr-rs closed this Sep 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL