Skip to content

Commit

Permalink
🐛 修复代码块的圆角
Browse files Browse the repository at this point in the history
  • Loading branch information
zkqiang committed Dec 23, 2020
1 parent dfa00a4 commit a1ab213
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions source/css/_pages/_base/rewrite.styl
Original file line number Diff line number Diff line change
Expand Up @@ -205,18 +205,20 @@

// Rewrite highlight
.markdown-body

pre
border-radius 3px

.hljs
overflow-x initial
padding 0

pre
background-color initial !important

.radius3
border-radius 3px

& > .code-wrapper
position relative
border-radius 3px

pre[class*=language-].line-numbers
position initial
Expand Down

0 comments on commit a1ab213

Please sign in to comment.