Skip to content

Commit

Permalink
Merge pull request #139 from hugovk/mobile-wrap-long-code-literals
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Jul 30, 2023
2 parents b2c46f5 + b2bd518 commit c98e976
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions python_docs_theme/static/pydoctheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@ form.inline-search input[type='submit'] {

div.document {
display: flex;
/* Don't let long code literals extend beyond the right side of the screen */
overflow-wrap: break-word;
}

/* Don't let long code literals extend beyond the right side of the screen */
span.pre {
white-space: unset;
}

div.sphinxsidebar {
Expand Down

0 comments on commit c98e976

Please sign in to comment.