Thanks to visit codestin.com
Credit goes to github.com

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

+5
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)