Skip to content

Commit

Permalink
Merge pull request #36 from irfanfadilah/yohn/improve-code-rendering
Browse files Browse the repository at this point in the history
Improve Code Rendering
  • Loading branch information
Yohn authored Jan 14, 2025
2 parents 5486f69 + 37dac63 commit 8b09efb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scss/content/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,20 @@
#{$parent-selector} code,
#{$parent-selector} kbd {
display: inline-block;
padding: 0.375rem;
padding: 0.125rem 0.375rem;
vertical-align: middle;
}

#{$parent-selector} pre {
display: block;
margin-bottom: var(#{$css-var-prefix}spacing);
overflow-x: auto;

> code {
display: block;
padding: var(#{$css-var-prefix}spacing);
background: none;
line-height: var(#{$css-var-prefix}line-height);
overflow-x: auto;
}
}

Expand Down

0 comments on commit 8b09efb

Please sign in to comment.