Skip to content

Commit ff41772

Browse files
authored
fix: Syntax highlighter empty line (#6055)
* fix: Syntax highlighter empty line * fix: Last empty line shouldnt shown
1 parent b66971e commit ff41772

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

styles/old/index.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,14 @@ a:hover .color-lightgray {
127127
}
128128
}
129129

130+
.shiki .line {
131+
min-height: 1rem;
132+
133+
&:last-child {
134+
min-height: initial;
135+
}
136+
}
137+
130138
html[dir='rtl'] {
131139
.has-side-nav {
132140
nav {

0 commit comments

Comments
 (0)