Skip to content

Commit

Permalink
fix: wrong step number caused by #75
Browse files Browse the repository at this point in the history
  • Loading branch information
SignorMercurio committed May 24, 2022
1 parent cfa07ab commit 0f09b08
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions site2/website-next/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -996,14 +996,14 @@ footer .row.footer__links {
counter-reset: line-number;
}

.prism-code .token-line::marker {
color: var(--ifm-color-gray-700);
content: counter(line-number);
}

.prism-code .token-line {
.prism-code .token-line::before {
counter-increment: line-number;
display: list-item;
padding-left: var(--ifm-pre-padding);
margin-left: var(--ifm-global-spacing);
content: counter(line-number);
margin-right: calc(var(--ifm-pre-padding) * 1.5);
text-align: right;
min-width: 1rem;
display: inline-block;
opacity: .3;
position: sticky;
left: var(--ifm-pre-padding);
}

0 comments on commit 0f09b08

Please sign in to comment.