From d317b50a2f484f9ae8deda8db6199347d082b3ea Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Sat, 12 Apr 2025 19:12:37 +0100 Subject: [PATCH 1/3] 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 --- doc/api_assets/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index e40fc2305eab40..c7c3928874156e 100644 --- a/doc/api_assets/style.css +++ b/doc/api_assets/style.css @@ -821,7 +821,7 @@ kbd { .header { position: sticky; top: -1px; - z-index: 1; + z-index: 2; padding-top: 1rem; background-color: var(--color-fill-app); } From 5147fc11313efb7a5f14c014b16e5f8cc560aaff Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Sat, 12 Apr 2025 19:23:59 +0100 Subject: [PATCH 2/3] remove unnecessary z-index --- doc/api_assets/style.css | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index c7c3928874156e..85ca06d1b0588b 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 { From 3b371d793343e15ed8dfb596fa02561181545476 Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Sat, 12 Apr 2025 23:39:14 +0100 Subject: [PATCH 3/3] Update doc/api_assets/style.css Co-authored-by: Antoine du Hamel --- doc/api_assets/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index 85ca06d1b0588b..b9af9ddea55aca 100644 --- a/doc/api_assets/style.css +++ b/doc/api_assets/style.css @@ -820,7 +820,7 @@ kbd { .header { position: sticky; top: -1px; - z-index: 2; + z-index: 10; padding-top: 1rem; background-color: var(--color-fill-app); }