From 5ca9616bd31bbb19b2fbb252681567df215ea3cd Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Sat, 12 Apr 2025 19:12:37 +0100 Subject: [PATCH] doc: increase z-index of header element increase the z-index of the header element to make sure that opened pickers from it (such as the node version picker) are on top of other content PR-URL: https://github.com/nodejs/node/pull/57851 Reviewed-By: Luigi Pinca Reviewed-By: Antoine du Hamel --- doc/api_assets/style.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index 9f56028d091..1288b1a5956 100644 --- a/doc/api_assets/style.css +++ b/doc/api_assets/style.css @@ -220,7 +220,6 @@ li.picker-header.expanded > .picker, :root:not(.has-js) li.picker-header:focus-within > .picker, :root:not(.has-js) li.picker-header:hover > .picker { display: block; - z-index: 1; } li.picker-header a span { @@ -817,7 +816,7 @@ kbd { .header { position: sticky; top: -1px; - z-index: 1; + z-index: 10; padding-top: 1rem; background-color: var(--color-fill-app); }