From 5c6bd0fc2bd52fb352d52b4711ae3b7dc333e759 Mon Sep 17 00:00:00 2001 From: Zeus-Deus <100132710+Zeus-Deus@users.noreply.github.com> Date: Tue, 2 Jun 2026 21:24:29 +0200 Subject: [PATCH] Fix Edge/Chromium sidebar section-title clipping (#1420) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- static/style.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index 97d34ef..7d75100 100644 --- a/static/style.css +++ b/static/style.css @@ -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,