From c811fc903133d4e90eef8f02fcc25a20b2d0ad07 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Tue, 30 Dec 2025 22:22:31 -0800 Subject: [PATCH] Stick diff headers --- usr/share/gitweb/static/custom.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr/share/gitweb/static/custom.css b/usr/share/gitweb/static/custom.css index e29f24c..b413eac 100644 --- a/usr/share/gitweb/static/custom.css +++ b/usr/share/gitweb/static/custom.css @@ -124,4 +124,9 @@ td.pre, div.pre, div.diff { font-size: 14px; +} + +div.diff:is(.header, .extended_header, .from_file, .to_file, .chunk_header) { + inset-inline-start: 0; + position: sticky; } \ No newline at end of file -- 2.47.3