Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Don't let long code literals extend beyond the right side of the screen
  • Loading branch information
hugovk committed Jul 27, 2023
commit 6787cd68befbef6a7be35f53fd40dfdd0263e698
5 changes: 5 additions & 0 deletions python_docs_theme/static/pydoctheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,11 @@ div.genindex-jumpbox a {
body {
margin-top: 40px;
}
/* Don't let long code literals extend beyond the right side of the screen */
span.pre {
overflow-wrap: break-word;
white-space: unset;
}

/* Top navigation bar */
.mobile-nav {
Expand Down