-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Enum HOWTO doesn't render well on mobile #111895
New issue
Have a question about this project? Sign up for a free GitHub acc 8000 ount to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It's reproducible on Chrome 119/Android 13/Samsung S22: It doesn't look great on desktop either (Chrome 119/macOS Ventura 13.6): Here's the source, it's a "definition list": Lines 610 to 635 in 6f09f69
Any suggestions on what to replace it with? Perhaps a simple bulleted list? |
Please see PR #111898. |
Thank you for picking it up @hugovk! And thanks for exposing me to: I have no idea what to use instead of definition list though. I'm not familiar with Sphinx nor Python documentation guidelines. |
Let's go with #111898 then, thank you for reporting this! |
…mobile (#111898) Convert definition list to bullet list for readability on mobile
…ty on mobile (pythonGH-111898) Convert definition list to bullet list for readability on mobile (cherry picked from commit 7d21e3d) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
…ty on mobile (pythonGH-111898) Convert definition list to bullet list for readability on mobile (cherry picked from commit 7d21e3d) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Can we change the style of definition lists? |
Possibly in https://github.com/python/python-docs-theme or Sphinx? In this case, I think part of the problem was the code block taking up a lot of extra (fixed) width, squashing the left part into a tiny space. So I think the styling might be fine for normal definition lists? Let's revisit if we find a problem with "normal" ones. |
…ty on mobile (python#111898) Convert definition list to bullet list for readability on mobile
…ty on mobile (python#111898) Convert definition list to bullet list for readability on mobile
Uh oh!
There was an error while loading. Please reload this page.
Specifically the purple sidebar on in section Functional API.
In Chrome devtools device mode the font size seems consistent, but the other problems still appear.
Tested in Safari on iPhone 12 mini, with docs for Python 3.12 and 3.13.
Screenshot
Linked PRs
The text was updated successfully, but these errors were encountered: