Skip to content

Commit

Permalink
🎨 适配高版本 highlight.js
Browse files Browse the repository at this point in the history
  • Loading branch information
zkqiang committed Feb 21, 2022
1 parent 400ea65 commit e2a1ebc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/css/_pages/_base/rewrite.styl
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ hr, .markdown-body hr
.highlight pre, pre
padding 1.45rem 1rem

pre code.hljs
padding 0

pre[class*="language-"]
padding-top 1.45rem
padding-bottom 1.45rem
Expand Down

0 comments on commit e2a1ebc

Please sign in to comment.