Skip to content

Commit 6787cd6

Browse files
committed
Don't let long code literals extend beyond the right side of the screen
1 parent 4dbc102 commit 6787cd6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

python_docs_theme/static/pydoctheme.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,11 @@ div.genindex-jumpbox a {
368368
body {
369369
margin-top: 40px;
370370
}
371+
/* Don't let long code literals extend beyond the right side of the screen */
372+
span.pre {
373+
overflow-wrap: break-word;
374+
white-space: unset;
375+
}
371376

372377
/* Top navigation bar */
373378
.mobile-nav {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy