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

Don't let long code literals extend beyond the right side of the screen by hugovk · Pull Request #139 · python/python-docs-theme · GitHub

Repository navigation

Don't let long code literals extend beyond the right side of the screen - #139

Merged
hugovk merged 2 commits into
python:mainfrom
hugovk:mobile-wrap-long-code-literals
Jul 30, 2023
Merged

hugovk merged 2 commits into
python:mainfrom
hugovk:mobile-wrap-long-code-literals

Conversation

hugovk commented Jul 27, 2023 •
edited
Loading

Copy link
Copy Markdown
Member

hugovk added the bug label Jul 27, 2023
hugovk marked this pull request as ready for review July 27, 2023 11:47

pradyunsg commented Jul 27, 2023 •
edited
Loading

Copy link
Copy Markdown
Member

In Furo, I went ahead and set break-word on the entire content container in pradyunsg/furo@c8b51d0

That makes it so that no regular text/markup, including really long one-word titles don't trigger a rewrap by default, would have an overflow beyond that element.

Do you think it's worth adopting a similar model here?

hugovk commented Jul 28, 2023

Copy link
Copy Markdown
Member Author

Yes, that sounds better, would you like to update this PR or create a new one?

hugovk commented Jul 30, 2023

Copy link
Copy Markdown
Member Author

Updated, how does this look?

pradyunsg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM!

hugovk merged commit c98e976 into python:main Jul 30, 2023
hugovk deleted the mobile-wrap-long-code-literals branch July 30, 2023 14:31
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrap lines of code to prevent empty horizontal scroll

3 participants


Back | FazBrowse Home | New Git URL