Fix code blocks "indent" without highlight.js

The `.hljs` class added by highlight.js adds a `display: block` rule
which makes `padding` apply correctly (left padding on all lines,
not just the first one).
Make sure that rule is applied even if highlight.js isn't run.
This commit is contained in:
Eldred Habert 2023-08-08 12:31:55 +02:00 committed by GitHub
parent 56c225bd34
commit 9bc68bdd93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -260,6 +260,7 @@ pre > .buttons button {
}
}
pre > code {
display: block;
padding: 1rem;
}