You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Screenshots of the viewport for comparisions. On Firefox 98.0.1, MacOS.
CAM-Gerlach
changed the title
The page becomes wider than the viewport, on certain PEPs
The page becomes wider than the viewport on certain PEPs
Mar 28, 2022
Thanks for reporting! The problem is due to the literal block in this section that has an extremely long <span>s (i.e. the regex that has no breaks and is syntax-highlighted text with the same color).
To make a long story short, after some investigation and testing, setting an appropriately-bounded max-width on the page content for the widest breakpoint (where it was previously unbounded) avoided this problem and ensured the page displayed identically to other PEPs with more typical content, while not affecting anything else.
See https://peps.python.org/pep-0440/
The PEP is presented wider than other PEPs are presented, which makes the contents of this PEP more difficult to read.
The text was updated successfully, but these errors were encountered: