Skip to content

Commit

Permalink
regulate codeblock style
Browse files Browse the repository at this point in the history
  • Loading branch information
lijyze committed Jul 28, 2023
1 parent 85036b6 commit 78b7087
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/* common */
pre[class*="language-"] {
padding-top: 1em !important;
}

pre[class*="language-"] > code {
padding: 0 !important;
margin: 0 !important;
}

/* line-number */
code[class*="language-"] {
overflow: visible;
Expand Down

0 comments on commit 78b7087

Please sign in to comment.