Fix Edge/Chromium sidebar section-title clipping (#1420)

Sidebar section titles were vertically clipped in Chromium/Edge (fine in
Firefox). Raise line-height 1 → 1.3, mirroring the existing .list-item fix.
The titles are flex-centred in a fixed-height (29px) header, so this adds
glyph headroom without any reflow.
This commit is contained in:
Zeus-Deus
2026-06-02 21:24:29 +02:00
committed by GitHub
parent 57abe69173
commit 5c6bd0fc2b

View File

@@ -1141,7 +1141,10 @@ body.bg-pattern-sparkles {
display: flex; align-items: center; gap: 6px;
margin: 0; padding: 0; border: none;
font-size: 10px; font-weight: 400; font-family: inherit;
line-height: 1; letter-spacing: 0; text-transform: none;
/* 1.3 (not 1) so Fira Code's tall glyph box isn't vertically clipped in
Chromium/Edge mirrors the .list-item fix. The title is flex-centred
in a fixed-height (29px) header, so this adds headroom without reflow. */
line-height: 1.3; letter-spacing: 0; text-transform: none;
color: var(--fg);
}
.section-icon,