aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoa <hoameomu@gmail.com>2019-05-05 08:24:25 +0800
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-05-06 08:50:33 +0200
commitdce059f5079e8a4ccc676b90932b3cecebfeca4e (patch)
treeb724c28b402af2c43f3edaa3e96a27435c35a1c0
parentdad47e715e1f049f85ee4f99616ba864d0bd003f (diff)
Address code review comment
-rw-r--r--assets/_markdown.scss12
1 files changed, 5 insertions, 7 deletions
diff --git a/assets/_markdown.scss b/assets/_markdown.scss
index 1411abd..0d4ecc8 100644
--- a/assets/_markdown.scss
+++ b/assets/_markdown.scss
@@ -42,6 +42,11 @@ $block-border-radius: 0.15rem;
border-radius: $block-border-radius;
font-size: $font-size-14;
overflow-x: auto;
+
+ code {
+ padding: 0;
+ background: none;
+ }
}
blockquote {
@@ -67,11 +72,4 @@ $block-border-radius: 0.15rem;
background: $gray-100;
}
}
-
- .highlight {
- code {
- padding: 0;
- background: none;
- }
- }
}