]> git.ardis.lu - git.ardis.lu/commitdiff
Stick diff headers
authorArdis Lu <ardisglu@gmail.com>
Wed, 31 Dec 2025 06:22:31 +0000 (22:22 -0800)
committerArdis Lu <ardisglu@gmail.com>
Wed, 31 Dec 2025 06:22:31 +0000 (22:22 -0800)
usr/share/gitweb/static/custom.css

index e29f24c5352172abba096fedee5d4a783d59e148..b413eac11f3b4515a47608e4f2f55707d91bb077 100644 (file)
@@ -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
This page took 0.03465 seconds and 4 git commands to generate.