Skip to content

Commit

Permalink
Fix <pre> CSS
Browse files Browse the repository at this point in the history
Closes #3
  • Loading branch information
Epicpkmn11 authored and lifehackerhansol committed Jan 12, 2024
1 parent 4b24cec commit ba4bb6f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions _sass/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,14 @@ blockquote {
background-color: $code-bg;
padding: 3px;
border-radius: 0.25rem;
}

&:not(.wrap) {
white-space: nowrap;
:not(pre) > code:not(.wrap) {
white-space: nowrap;

@media screen and (max-width: 576px) {
white-space: normal;
}
@media screen and (max-width: 576px) {
white-space: normal;
}

}

pre {
Expand Down

0 comments on commit ba4bb6f

Please sign in to comment.