From 63d6c765ea5d8d4f78e48238063c8e439f659eea Mon Sep 17 00:00:00 2001 From: Florian Scholdei Date: Tue, 31 Jan 2023 10:11:08 +0100 Subject: [PATCH] Correct z-index equal weighting in diff header Committed-by: Eduard Heimbuch --- gradle/changelog/sticky_diff_header.yaml | 2 ++ scm-ui/ui-components/src/repos/LazyDiffFile.tsx | 1 + 2 files changed, 3 insertions(+) create mode 100644 gradle/changelog/sticky_diff_header.yaml diff --git a/gradle/changelog/sticky_diff_header.yaml b/gradle/changelog/sticky_diff_header.yaml new file mode 100644 index 0000000000..8f3d4970c0 --- /dev/null +++ b/gradle/changelog/sticky_diff_header.yaml @@ -0,0 +1,2 @@ +- type: fixed + description: Correct z-index equal weighting in diff header diff --git a/scm-ui/ui-components/src/repos/LazyDiffFile.tsx b/scm-ui/ui-components/src/repos/LazyDiffFile.tsx index 5b79682edc..6d7992a01e 100644 --- a/scm-ui/ui-components/src/repos/LazyDiffFile.tsx +++ b/scm-ui/ui-components/src/repos/LazyDiffFile.tsx @@ -116,6 +116,7 @@ const PanelHeading = styled.div<{ sticky: boolean }>` ? ` position: sticky; top: 52px; + z-index: 1; ` : ""} `;