Skip to content

Commit

Permalink
fix(style): prevent scrollbar in code (#18)
Browse files Browse the repository at this point in the history
That margin was creating horizontal scroll when it wasn't necessary
  • Loading branch information
posva authored and yyx990803 committed Apr 14, 2018
1 parent 49e0ee4 commit a3db4d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/default-theme/styles/code.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit a3db4d2

Please sign in to comment.