From b54680cac159f88b97299aa7e22fd8cc608aebfa Mon Sep 17 00:00:00 2001 From: Yuan Chen Date: Mon, 26 Jan 2026 18:29:13 -0500 Subject: [PATCH] =?UTF-8?q?bugfix:The=20Mintlify=20navbar=20(logo=20+=20se?= =?UTF-8?q?arch=20bar=20with=20=E2=8C=98K)=20scrolls=20away=20when=20scrol?= =?UTF-8?q?ling=20down=20the=20documentation,=20so=20it=20disappears=20fro?= =?UTF-8?q?m=20view.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/assets/terminal.css | 10 ++++++++-- docs/install/node.md | 7 ++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/docs/assets/terminal.css b/docs/assets/terminal.css index 23283d651..71acb00aa 100644 --- a/docs/assets/terminal.css +++ b/docs/assets/terminal.css @@ -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 50% 120%, color-mix(in oklab, var(--link) 10%, transparent), transparent 55%), linear-gradient(180deg, var(--bg0), var(--bg1)); - overflow-x: hidden; + overflow-x: visible; } 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)); box-shadow: var(--shadow-px); border: var(--border) solid var(--frame-border); - overflow: hidden; + overflow: visible; } .shell__titlebar { + position: sticky; + top: 0; + z-index: 100; display: flex; align-items: center; justify-content: space-between; @@ -295,6 +298,9 @@ body::after { } .shell__nav { + position: sticky; + top: 68px; /* Adjust this value based on the height of your titlebar */ + z-index: 99; display: flex; align-items: center; justify-content: space-between; diff --git a/docs/install/node.md b/docs/install/node.md index 6a622e198..3075b6207 100644 --- a/docs/install/node.md +++ b/docs/install/node.md @@ -1,9 +1,10 @@ --- +title: "Node.js + npm (PATH sanity)" summary: "Node.js + npm install sanity: versions, PATH, and global installs" read_when: - - You installed Clawdbot but `clawdbot` is “command not found” - - You’re setting up Node.js/npm on a new machine - - `npm install -g ...` fails with permissions or PATH issues + - "You installed Clawdbot but `clawdbot` is “command not found”" + - "You’re setting up Node.js/npm on a new machine" + - "npm install -g ... fails with permissions or PATH issues" --- # Node.js + npm (PATH sanity)