Skip to content

Commit 8551188

Browse files
jessetanBlendify
authored andcommitted
Make code block line emphasis span entire line (#608)
1 parent af3ff63 commit 8551188

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sass/_theme_rst.sass

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@
7979
font-family: $code-font-family
8080
display: block
8181
overflow: auto
82+
& .hll
83+
// Line emphasis spans full width
84+
display: block
85+
margin: 0 -1 * $base-line-height / 2
86+
padding: 0 $base-line-height / 2
8287
pre.literal-block, div[class^='highlight'] pre, .linenodiv pre
8388
font-size: 12px
8489
line-height: normal

0 commit comments

Comments
 (0)