From 1a6d327f243652d9450c00945be19030a8a5a44b Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Sat, 14 Apr 2018 15:44:54 +0200 Subject: [PATCH] fix(style): prevent scrollbar in code That margin was creating horizontal scroll when it wasn't necessary --- lib/default-theme/styles/code.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/default-theme/styles/code.styl b/lib/default-theme/styles/code.styl index c9be35b540..bd2e21d44d 100644 --- a/lib/default-theme/styles/code.styl +++ b/lib/default-theme/styles/code.styl @@ -34,7 +34,7 @@ .highlighted-line background-color rgba(0, 0, 0, 66%) display block - margin 0.1rem -1.8rem 0 + margin 0.1rem -1.5rem 0 padding 0.1rem 1.8rem pre[class="language-js"], pre[class="language-javascript"]