Skip to content

Commit

Permalink
fix: Code styles in code snippets when rendered inside a markdown com…
Browse files Browse the repository at this point in the history
…ponent
  • Loading branch information
jerelmiller committed Jun 17, 2020
1 parent 8d5fc02 commit 107d9df
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/CodeSnippet.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
height: 100%;
overflow-y: auto;
padding: 1rem;

code {
display: block;
padding: 0;
background: none;
}
}

.lineNumber {
Expand Down

0 comments on commit 107d9df

Please sign in to comment.