Fix line numbers alignment
This commit is contained in:
parent
2bb3d3d49b
commit
2fcbefa09f
@ -72,7 +72,6 @@ pre[class*="language-"].line-numbers > code {
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
top: 0;
|
||||
margin-top: -2px;
|
||||
font-size: 100%;
|
||||
left: -3.8em;
|
||||
width: 3em; /* works for line-numbers below 1000 lines */
|
||||
@ -113,6 +112,7 @@ pre[class*="language-"].line-numbers > code {
|
||||
}
|
||||
|
||||
code {
|
||||
display: block;
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user