bugfix:The Mintlify navbar (logo + search bar with ⌘K) scrolls away when scrolling down the documentation, so it disappears from view.
This commit is contained in:
parent
2f7fff8dcd
commit
b54680cac1
@ -87,7 +87,7 @@ body {
|
|||||||
radial-gradient(900px 600px at 95% 10%, color-mix(in oklab, var(--accent2) 14%, transparent), transparent 60%),
|
radial-gradient(900px 600px at 95% 10%, color-mix(in oklab, var(--accent2) 14%, transparent), transparent 60%),
|
||||||
radial-gradient(900px 600px at 50% 120%, color-mix(in oklab, var(--link) 10%, transparent), transparent 55%),
|
radial-gradient(900px 600px at 50% 120%, color-mix(in oklab, var(--link) 10%, transparent), transparent 55%),
|
||||||
linear-gradient(180deg, var(--bg0), var(--bg1));
|
linear-gradient(180deg, var(--bg0), var(--bg1));
|
||||||
overflow-x: hidden;
|
overflow-x: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
body::before,
|
body::before,
|
||||||
@ -126,10 +126,13 @@ body::after {
|
|||||||
linear-gradient(180deg, color-mix(in oklab, var(--panel2) 88%, transparent), color-mix(in oklab, var(--panel) 92%, transparent));
|
linear-gradient(180deg, color-mix(in oklab, var(--panel2) 88%, transparent), color-mix(in oklab, var(--panel) 92%, transparent));
|
||||||
box-shadow: var(--shadow-px);
|
box-shadow: var(--shadow-px);
|
||||||
border: var(--border) solid var(--frame-border);
|
border: var(--border) solid var(--frame-border);
|
||||||
overflow: hidden;
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.shell__titlebar {
|
.shell__titlebar {
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 100;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
@ -295,6 +298,9 @@ body::after {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.shell__nav {
|
.shell__nav {
|
||||||
|
position: sticky;
|
||||||
|
top: 68px; /* Adjust this value based on the height of your titlebar */
|
||||||
|
z-index: 99;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|||||||
@ -1,9 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
title: "Node.js + npm (PATH sanity)"
|
||||||
summary: "Node.js + npm install sanity: versions, PATH, and global installs"
|
summary: "Node.js + npm install sanity: versions, PATH, and global installs"
|
||||||
read_when:
|
read_when:
|
||||||
- You installed Clawdbot but `clawdbot` is “command not found”
|
- "You installed Clawdbot but `clawdbot` is “command not found”"
|
||||||
- You’re setting up Node.js/npm on a new machine
|
- "You’re setting up Node.js/npm on a new machine"
|
||||||
- `npm install -g ...` fails with permissions or PATH issues
|
- "npm install -g ... fails with permissions or PATH issues"
|
||||||
---
|
---
|
||||||
|
|
||||||
# Node.js + npm (PATH sanity)
|
# Node.js + npm (PATH sanity)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user