diff options
Diffstat (limited to 'assets')
-rw-r--r-- | assets/_markdown.scss | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/assets/_markdown.scss b/assets/_markdown.scss index 17fed6c..944c811 100644 --- a/assets/_markdown.scss +++ b/assets/_markdown.scss @@ -71,7 +71,6 @@ tr th, tr td { padding: $padding-8 $padding-16; - line-height: 1; border: $padding-1 solid $gray-200; } @@ -91,7 +90,6 @@ } dl { - // padding-left: $padding-16; dt { font-weight: bolder; margin-top: $padding-16; @@ -101,4 +99,16 @@ margin-left: $padding-16 * 2; } } + + // Special case for highlighted code with line numbers + .highlight table tr { + td:nth-child(1) pre { + margin: 0; + padding-right: 0; + } + td:nth-child(2) pre { + margin: 0; + padding-left: 0; + } + } } |