mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
1 parent
81342d10f0
commit
5ca9616bd3
1 file changed
+1
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user