From 80be2418ff2615b454c5edf2819861f58eecf271 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Thu, 3 Sep 2026 01:26:44 -0400 Subject: Anchor blob lines so #L fragments work Wrap each rendered line in a , for both syntax-highlighted and plain-text blobs, and shade the line a fragment targets. --- public/static/style.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'public/static/style.css') diff --git a/public/static/style.css b/public/static/style.css index a83e128..1d277b7 100644 --- a/public/static/style.css +++ b/public/static/style.css @@ -286,6 +286,10 @@ object.pdf { pre.box { /* Instead of scrolling overflow for long lines, grow the box. */ width: fit-content; + + span:target { + background: var(--shade-background); + } } .overview, .release, .wiki { -- cgit v1.3.1