Skip to content

Commit

Permalink
Fix: wrap inline literals (#1050)
Browse files Browse the repository at this point in the history
This preservers white spaces as is when copying,
so all good.

Fixes #321
  • Loading branch information
stsewd committed Feb 23, 2021
1 parent c8ef0fc commit d91d7e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_rtd_theme/static/css/theme.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/sass/_theme_rst.sass
Expand Up @@ -376,6 +376,7 @@

&.literal
color: $text-code-color
white-space: normal
&.xref, a &
font-weight: bold
color: $text-codexref-color
Expand Down

0 comments on commit d91d7e1

Please sign in to comment.