Skip to content

Commit

Permalink
Merge pull request #812 from Potat0000/patch-1
Browse files Browse the repository at this point in the history
修复 Tag 中的代码块下方行间距异常
  • Loading branch information
zkqiang authored Aug 29, 2022
2 parents 105eb5b + d2d7437 commit 3ff2797
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/css/_pages/_post/highlight.styl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.markdown-body
.highlight pre, pre
padding 1.45rem 1rem
margin-bottom 16px

pre code.hljs
padding 0
Expand All @@ -10,6 +11,7 @@
padding-bottom 1.45rem
padding-right 1rem
line-height 1.5
margin-bottom 16px

.code-wrapper
position relative
Expand Down

0 comments on commit 3ff2797

Please sign in to comment.