From: Ardis Lu Date: Wed, 31 Dec 2025 06:22:31 +0000 (-0800) Subject: Stick diff headers X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=c811fc903133d4e90eef8f02fcc25a20b2d0ad07;p=git.ardis.lu Stick diff headers --- 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