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 <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
Dario Piotrowicz authored and Marco Ippolito committed 2025-06-05 11:14:00 +02:00
1 parent 81342d10f0
commit 5ca9616bd3
1 file changed
+1 -2
+1 -2
View File
@@ -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);
}