Skip to content

Commit 5393a42

Browse files
committed
Add min-height for line to address rendering issue for empty lines at EOF
1 parent 585bfd4 commit 5393a42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/Code/code.module.sass

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
display: block
1414
border-left: 0.5px solid var(--code-line-number-color)
1515
padding-left: 1em
16+
min-height: 1em
1617

1718
&::before
1819
content: attr(data-line-number)

0 commit comments

Comments
 (0)