Skip to content

Commit

Permalink
Fixed issue when code block cannot auto overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
artemsheludko authored May 1, 2018
1 parent 63ebca5 commit 35c8b5f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion assets/css/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,19 @@ blockquote {

pre {
padding: 1rem 2rem;
overflow-x: auto;
overflow: auto;
white-space: pre-wrap;
word-wrap: break-word;
word-break: break-all;

code {
border: 0;
padding-right: 0;
padding-left: 0;
overflow: auto;
white-space: pre-wrap;
word-wrap: break-word;
word-break: break-all;
}
}

Expand Down

0 comments on commit 35c8b5f

Please sign in to comment.