fix margin for line numbers
All checks were successful
ci/woodpecker/push/publish Pipeline was successful

This commit is contained in:
Mylloon 2023-05-03 21:26:15 +02:00
parent 8b0c37ffc8
commit e45c7f8780
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -190,10 +190,14 @@ code:not(.hljs):not(:has(svg)) {
/* Code blocks */ /* Code blocks */
.hljs { .hljs {
margin-inline: 0.4em; /* Marge for numbers */
border-radius: 5px; border-radius: 5px;
} }
/* Marge for numbers */
.hljs-ln-n {
margin-right: 0.4em;
}
/* Numbers in codeblocks */ /* Numbers in codeblocks */
.hljs-ln-numbers { .hljs-ln-numbers {
text-align: right; text-align: right;