Skip to content

Commit

Permalink
Better code blocks padding for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanzhong committed Nov 28, 2020
1 parent 15e6836 commit 7549afb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/_style/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ input {
.markdown-section {
max-width: 95%;
}
.markdown-section pre {
padding: 0 0.8rem;
}
.markdown-section pre > code {
padding: 1.5em 5px;
}
}

.token.comment,
Expand Down

0 comments on commit 7549afb

Please sign in to comment.