From 5e5e69771f803958daf211ca2da4ea3063a7f4d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Tue, 16 Jul 2024 15:06:21 +0200 Subject: [PATCH] Fix overflow problem in diff view When selecting a range of lines and scrolling past the sticky header, the selection would be on top of the header. This fixes it. --- src/components/File.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/File.svelte b/src/components/File.svelte index 8dbfe0cc0..fdd03381a 100644 --- a/src/components/File.svelte +++ b/src/components/File.svelte @@ -20,7 +20,7 @@ border-top-left-radius: var(--border-radius-small); border-top-right-radius: var(--border-radius-small); background-color: var(--color-background-default); - z-index: 1; + z-index: 2; } .sticky {