Skip to content

Commit 11bb7cd

Browse files
dario-piotrowiczjasnell
authored andcommitted
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: nodejs#57851 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 78fd82b commit 11bb7cd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/api_assets/style.css

+1-2
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ li.picker-header.expanded > .picker,
220220
:root:not(.has-js) li.picker-header:focus-within > .picker,
221221
:root:not(.has-js) li.picker-header:hover > .picker {
222222
display: block;
223-
z-index: 1;
224223
}
225224

226225
li.picker-header a span {
@@ -821,7 +820,7 @@ kbd {
821820
.header {
822821
position: sticky;
823822
top: -1px;
824-
z-index: 1;
823+
z-index: 10;
825824
padding-top: 1rem;
826825
background-color: var(--color-fill-app);
827826
}

0 commit comments

Comments
 (0)