Skip to content

Commit acada32

Browse files
authored
Merge pull request #1220 from readthedocs/nienn/fix-sphinx-4-pre-overflow
Fix #1214: Sphinx 4 <pre> overflow
2 parents 20f205f + e319184 commit acada32

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sphinx_rtd_theme/static/css/theme.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/sass/_theme_rst.sass

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@
472472
.property
473473
display: inline-block
474474
padding-right: 8px
475+
max-width: 100%
475476
// This is keywords such as "const"
476477
.k
477478
font-style: italic

0 commit comments

Comments
 (0)