mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2025-03-15 02:39:06 +03:00
Fix line numbers alignment
This commit is contained in:
parent
2bb3d3d49b
commit
2fcbefa09f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue