Skip to content

Commit d91d7e1

Browse files
authored
Fix: wrap inline literals (#1050)
This preservers white spaces as is when copying, so all good. Fixes #321
1 parent c8ef0fc commit d91d7e1

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
@@ -376,6 +376,7 @@
376376

377377
&.literal
378378
color: $text-code-color
379+
white-space: normal
379380
&.xref, a &
380381
font-weight: bold
381382
color: $text-codexref-color

0 commit comments

Comments
 (0)