Fix the z-index of the main header
Change-Id: I60b52f6d1e316f9639415fdbafcfb18edcc8aef2
(cherry picked from commit a62d000bbe)
This commit is contained in:
@@ -40,8 +40,11 @@ export const htmlTemplate = html`
|
|||||||
border-left: 0;
|
border-left: 0;
|
||||||
border-top: 0;
|
border-top: 0;
|
||||||
box-shadow: var(--header-box-shadow);
|
box-shadow: var(--header-box-shadow);
|
||||||
/* Make sure the header is above the main content, to preserve box-shadow visibility */
|
/* Make sure the header is above the main content, to preserve box-shadow
|
||||||
z-index: 1;
|
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 {
|
footer {
|
||||||
background: var(
|
background: var(
|
||||||
|
|||||||
Reference in New Issue
Block a user