Merge pull request #51 from komish/make-pre-code-inline-block

render code blocks as inline-block to fix indentation/padding issue
This commit is contained in:
Vivek R 2020-05-24 06:48:26 +00:00 committed by GitHub
commit 4f12837a2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -67,3 +67,7 @@ table th, table td {
padding: 10px 20px; padding: 10px 20px;
border: 1px solid #666; border: 1px solid #666;
} }
pre code {
display: inline-block
}

View File

@ -191,6 +191,11 @@ ul {
background-color: #FAFAFA; background-color: #FAFAFA;
} }
pre code {
display: inline-block;
}
.wrapper { .wrapper {
max-width: 760px; max-width: 760px;
margin: 0 auto; margin: 0 auto;