Skip to content

Commit a3db4d2

Browse files
posvayyx990803
authored andcommitted
fix(style): prevent scrollbar in code (#18)
That margin was creating horizontal scroll when it wasn't necessary
1 parent 49e0ee4 commit a3db4d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/default-theme/styles/code.styl

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
.highlighted-line
3535
background-color rgba(0, 0, 0, 66%)
3636
display block
37-
margin 0.1rem -1.8rem 0
37+
margin 0.1rem -1.5rem 0
3838
padding 0.1rem 1.8rem
3939

4040
pre[class="language-js"], pre[class="language-javascript"]

0 commit comments

Comments
 (0)