Skip to content

Commit

Permalink
fix: code block background colors
Browse files Browse the repository at this point in the history
  • Loading branch information
zstix committed Jul 28, 2020
1 parent be2b971 commit e3c8b3d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/MDXContainer.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@

code {
padding: 0.125rem;
background: var(--tertiary-background-color);
border-radius: 2px;
}

:not(pre) > code {
background: var(--tertiary-background-color);
}

p:last-child {
margin-bottom: 0;
}
Expand Down

0 comments on commit e3c8b3d

Please sign in to comment.