Fix the z-index of the main header

Change-Id: I60b52f6d1e316f9639415fdbafcfb18edcc8aef2
(cherry picked from commit a62d000bbe)
This commit is contained in:
Ben Rohlfs
2020-12-16 12:50:31 +01:00
parent cf817a211d
commit d4026f9bfc

View File

@@ -40,8 +40,11 @@ export const htmlTemplate = html`
border-left: 0;
border-top: 0;
box-shadow: var(--header-box-shadow);
/* Make sure the header is above the main content, to preserve box-shadow visibility */
z-index: 1;
/* Make sure the header is above the main content, to preserve box-shadow
visibility. We need 2 here instead of 1, because dropdowns in the
header should be shown on top of the sticky diff header, which has a
z-index of 1. */
z-index: 2;
}
footer {
background: var(