Make code block line emphasis span entire line (#608)

This commit is contained in:
Jesse Tan 2018-04-11 14:20:19 +02:00 committed by Aaron Carlisle
parent af3ff632f1
commit 8551188ad6

View File

@ -79,6 +79,11 @@
font-family: $code-font-family
display: block
overflow: auto
& .hll
// Line emphasis spans full width
display: block
margin: 0 -1 * $base-line-height / 2
padding: 0 $base-line-height / 2
pre.literal-block, div[class^='highlight'] pre, .linenodiv pre
font-size: 12px
line-height: normal