fix(css): set line-height on article headings to prevent overlap when they wrap

Article headings inherit .entry-content's fixed line-height: 1.4em (computed at
the body font-size), which is smaller than the heading font-size, so headings
that wrap onto two lines overlap. Add an explicit unitless line-height: 1.2
scoped to .entry-content headings so the leading scales with each heading's own
font-size, without affecting Miniflux's own UI headings.

Fixes #4399.
This commit is contained in:
Aditya Raj Singh
2026-07-01 14:23:58 +05:30
committed by fguillot
parent 0abd9e7145
commit 5ebdc176e7
+6
View File
@@ -1106,6 +1106,12 @@ article.category-has-unread {
margin-bottom: 10px;
}
.entry-content h1,
.entry-content h2,
.entry-content h3 {
line-height: 1.2;
}
.entry-content iframe,
.entry-content video,
.entry-content img {