Skip to content

Commit

Permalink
fix(style): do not wrap line number
Browse files Browse the repository at this point in the history
  • Loading branch information
HEIGE-PCloud committed Apr 27, 2024
1 parent 5a1049d commit 7e0a4c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/css/_partial/_single/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,10 @@ pre,
}

pre > code > span::before {
// line number for code block
counter-increment: codeblock;
content: counter(codeblock);
margin: 0 1rem;
color: var(--global-font-color);
text-wrap: nowrap;
}

0 comments on commit 7e0a4c6

Please sign in to comment.