Skip to content

Commit c98e976

Browse files
authored
Merge pull request #139 from hugovk/mobile-wrap-long-code-literals
2 parents b2c46f5 + b2bd518 commit c98e976

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

python_docs_theme/static/pydoctheme.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ form.inline-search input[type='submit'] {
8484

8585
div.document {
8686
display: flex;
87+
/* Don't let long code literals extend beyond the right side of the screen */
88+
overflow-wrap: break-word;
89+
}
90+
91+
/* Don't let long code literals extend beyond the right side of the screen */
92+
span.pre {
93+
white-space: unset;
8794
}
8895

8996
div.sphinxsidebar {

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