fix margin for line numbers
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
This commit is contained in:
parent
8b0c37ffc8
commit
e45c7f8780
1 changed files with 5 additions and 1 deletions
|
@ -190,10 +190,14 @@ code:not(.hljs):not(:has(svg)) {
|
|||
|
||||
/* Code blocks */
|
||||
.hljs {
|
||||
margin-inline: 0.4em; /* Marge for numbers */
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
/* Marge for numbers */
|
||||
.hljs-ln-n {
|
||||
margin-right: 0.4em;
|
||||
}
|
||||
|
||||
/* Numbers in codeblocks */
|
||||
.hljs-ln-numbers {
|
||||
text-align: right;
|
||||
|
|
Loading…
Reference in a new issue