Skip to content

Commit

Permalink
fix: code blocks breaks weird on mobile
Browse files Browse the repository at this point in the history
closses: #17
  • Loading branch information
Marvin Heilemann committed Feb 8, 2020
1 parent 8e5e27d commit 6e6f60c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions src/styles/_reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,6 @@ samp {
font-family: var(--font-mono);
}

pre,
code {
white-space: pre-wrap;
}

img,
svg,
video,
Expand Down
1 change: 1 addition & 0 deletions src/styles/elements/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ p code {
code {
grid-area: code;
padding: var(--spacing-sm);
overflow-x: scroll;
border: 1px solid var(--color-08);
}

Expand Down

0 comments on commit 6e6f60c

Please sign in to comment.