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 22c4cf4069
2 changed files with 10 additions and 1 deletions

View File

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

View File

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