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; ` : ""} `;