Skip to content

Commit 7e3a380

Browse files
authored
Merge branch 'master' into version-in-js
2 parents 6a5d490 + 34cc4a2 commit 7e3a380

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

sass/_theme_rst.sass

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,20 @@
5353
line-height: $base-line-height
5454
margin-bottom: $base-line-height
5555

56+
pre.literal-block
57+
white-space: pre
58+
margin: 0
59+
padding: $base-line-height / 2 $base-line-height / 2
60+
font-family: $code-font-family
61+
display: block
62+
overflow: auto
5663
pre.literal-block, div[class^='highlight']
5764
border: 1px solid $table-border-color
58-
padding: 0px
5965
overflow-x: auto
6066
// 1px hack otherwise border won't show. lame
6167
margin: 1px 0 $base-line-height 0
6268
div[class^='highlight']
69+
padding: 0px
6370
border: none
6471
margin: 0
6572
// Needs 100% width for line highlighting to work properly

0 commit comments

Comments
 (0)