Skip to content

Commit 81a470e

Browse files
committed
fix: do not cut off bottom portion of text
1 parent 375c058 commit 81a470e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/themes/shared/_base.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
font: inherit;
99
-webkit-text-size-adjust: none;
1010
text-size-adjust: none;
11+
line-height: normal;
1112
}
1213

1314
html,

src/themes/shared/_markdown.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@
248248
margin: 2rem 0 0.5em;
249249
color: var(--heading-color);
250250
font-weight: var(--heading-font-weight);
251+
line-height: normal;
251252

252253
/* Prevent long titles from causing horizontal scrolling */
253254
&[id] a {

0 commit comments

Comments
 (0)