-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
doc: increase z-index of header element #57851
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: increase z-index of header element #57851
Conversation
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
Review requested:
|
BTW this change have to be "backport" to |
Sorry @AugustinMauroy I'm not sure what that means, could you clarify? 🙏 is this something I need to do? |
This change might be lost since we’re migrating to another package that is being created for documentation generation in api-docs-tooling (see #57343), so you need to make that change in api-docs-tooling as well https://github.com/nodejs/api-docs-tooling/blob/main/src/generators/legacy-html/assets/style.css |
No need to backport. The change that introduced this issue hasn't been backported yet. |
Co-authored-by: Antoine du Hamel <[email protected]>
ah I see, ok thanks a lot for the extra context here 🫶
But it sounds like that might not be needed anyways 🙂 |
Commit Queue failed- Loading data for nodejs/node/pull/57851 ✔ Done loading data for nodejs/node/pull/57851 ----------------------------------- PR info ------------------------------------ Title doc: increase z-index of header element (#57851) Author Dario Piotrowicz <[email protected]> (@dario-piotrowicz) Branch dario-piotrowicz:dario/docs-header-z-index-fix -> nodejs:main Labels doc, author ready, lts-watch-v18.x, lts-watch-v20.x Commits 3 - doc: increase z-index of header element - remove unnecessary z-index - Update doc/api_assets/style.css Committers 2 - Dario Piotrowicz <[email protected]> - GitHub <[email protected]> PR-URL: https://github.com/nodejs/node/pull/57851 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/57851 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last approving review: ⚠ - doc: increase z-index of header element ⚠ - remove unnecessary z-index ⚠ - Update doc/api_assets/style.css ℹ This PR was created on Sat, 12 Apr 2025 18:26:15 GMT ✔ Approvals: 2 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/57851#pullrequestreview-2762237409 ✔ - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/57851#pullrequestreview-2762265947 ✔ Last GitHub CI successful ℹ Green GitHub CI is sufficient -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/14453190816 |
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: #57851 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
Landed in 11bb7cd |
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: #57851 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
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: #57851 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
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: #57851 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
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: #57851 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
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: #57851 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
increase the z-index of the header element to make sure that opened pickers from it (such as the node verion picker) are on top of other content
This is addressing a minor issue I just noticed when reading the docs, the header pickers can be covered by api stability banners, for example go to https://nodejs.org/docs/latest/api/repl.html open the nodejs versions picker and while the picker is open scroll down till the REPL section and you should see the following:
with my change the picker remains on top: