Skip to content

Commit

Permalink
Set code block vertical margin
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgio committed Aug 11, 2024
1 parent 6b94fec commit 19fefc3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/src/main/resources/render/theme/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ a {
color: var(--qd-link-color);
}

pre {
margin-top: var(--qd-block-margin);
margin-bottom: var(--qd-block-margin);
}

pre code {
max-height: none !important;
}
Expand Down

0 comments on commit 19fefc3

Please sign in to comment.