Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
feat(#115): lineNumbers background inherit and fix highlight last lin…
Browse files Browse the repository at this point in the history
…e height
  • Loading branch information
peterpeterparker committed Jul 30, 2019
1 parent 0cc1277 commit 28104d8
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,13 @@ div.deckgo-highlight-code-container {

&:before {
content: counter(linenumber);
min-height: 1rem;
display: inline-block;
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 2.5em;
background: var(--deckgo-highlight-code-background, white);
background: inherit;
border-right: 1px solid var(--deckgo-highlight-code-line-numbers, #999);
color: var(--deckgo-highlight-code-line-numbers, #999);
}
Expand Down

0 comments on commit 28104d8

Please sign in to comment.