From 60c4d9298754fb1482388c418efdbe3c7ce25222 Mon Sep 17 00:00:00 2001 From: callumflack Date: Mon, 10 Aug 2026 15:44:56 +1000 Subject: [PATCH 1/4] fix(site): restore mobile specification toc Assisted-by: AI Signed-off-by: callumflack --- apps/site/src/styles/surfaces/specification.css | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/apps/site/src/styles/surfaces/specification.css b/apps/site/src/styles/surfaces/specification.css index b5122825e..33f7b7291 100644 --- a/apps/site/src/styles/surfaces/specification.css +++ b/apps/site/src/styles/surfaces/specification.css @@ -95,9 +95,8 @@ overflow-x: visible; } - /* Keep one sticky navigation affordance: the sidebar trigger. The separate - TOC popover duplicates that navigation and is the row that crosses the - article while scrolling. */ + /* Keep the sticky navigation row opaque while the TOC popover remains + available from its trigger. */ [data-pdpp-doc-theme] #nd-subnav { background: var(--pdpp-concept-paper) !important; /* Paint over the table's right-hand bleed without extending the subnav @@ -106,10 +105,6 @@ backdrop-filter: none; } - [data-pdpp-doc-theme] [data-toc-popover] { - display: none; - } - [data-pdpp-doc-theme] #nd-page.pdpp-docs-page { padding-inline: 0 !important; } From 97b3508bd1a7cd32340f8fa1a7b411488e299983 Mon Sep 17 00:00:00 2001 From: callumflack Date: Mon, 10 Aug 2026 16:20:06 +1000 Subject: [PATCH 2/4] fix(site): remove phone doc top padding Assisted-by: AI Signed-off-by: callumflack --- apps/site/src/components/pdpp-concept/concept-page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/site/src/components/pdpp-concept/concept-page.tsx b/apps/site/src/components/pdpp-concept/concept-page.tsx index 2474c1b68..d4ffd6c6a 100644 --- a/apps/site/src/components/pdpp-concept/concept-page.tsx +++ b/apps/site/src/components/pdpp-concept/concept-page.tsx @@ -52,7 +52,7 @@ export function PdppConceptDoc({ children, className }: ConceptDocProps) { // components.css — not on this shell (tables/terminal stay wide). "min-w-0 max-w-full pt-[calc(var(--spacing-section-gap)/1.5)] pb-[calc(var(--spacing-section-gap)*1.25)]", // max-lg - "max-lg:pt-[calc(var(--spacing-section-gap)/3)] max-lg:pb-[calc(var(--spacing-section-gap)*0.75)]", + "max-md:pt-0 max-lg:pt-[calc(var(--spacing-section-gap)/3)] max-lg:pb-[calc(var(--spacing-section-gap)*0.75)]", "[&_[data-slot=pdpp-concept-text]_a]:link-prose", "[&_a:not([class])]:link-prose", className From bd241e7749303382f30ca2746341bbcbaecdd179 Mon Sep 17 00:00:00 2001 From: callumflack Date: Mon, 10 Aug 2026 16:25:32 +1000 Subject: [PATCH 3/4] fix(site): remove phone home doc padding Assisted-by: AI Signed-off-by: callumflack --- apps/site/src/components/pdpp-concept/concept-page.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/site/src/components/pdpp-concept/concept-page.tsx b/apps/site/src/components/pdpp-concept/concept-page.tsx index d4ffd6c6a..c56dc04da 100644 --- a/apps/site/src/components/pdpp-concept/concept-page.tsx +++ b/apps/site/src/components/pdpp-concept/concept-page.tsx @@ -31,7 +31,8 @@ export function PdppConceptPage({ children, home = false, className }: ConceptPa "lg:has-[>[data-slot=pdpp-concept-rail]]:grid-cols-[var(--spacing-rail)_minmax(0,1fr)]", "lg:has-[>[data-slot=pdpp-concept-rail]]:gap-x-gutter", // Short pages (home / 404): trim doc bottom pad - home && "**:data-[slot=pdpp-concept-doc]:pt-7! **:data-[slot=pdpp-concept-doc]:pb-5!", + home && + "**:data-[slot=pdpp-concept-doc]:pt-7! **:data-[slot=pdpp-concept-doc]:pb-5! max-md:**:data-[slot=pdpp-concept-doc]:pt-0!", className )} data-slot="pdpp-concept-page" From 32c783a38765db5246a6b3b0703a0a7b2fe7f6be Mon Sep 17 00:00:00 2001 From: callumflack Date: Mon, 10 Aug 2026 16:29:02 +1000 Subject: [PATCH 4/4] fix(site): align mobile toc row with subnav Assisted-by: AI Signed-off-by: callumflack --- apps/site/src/styles/surfaces/specification.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/site/src/styles/surfaces/specification.css b/apps/site/src/styles/surfaces/specification.css index 33f7b7291..b4ceb0d05 100644 --- a/apps/site/src/styles/surfaces/specification.css +++ b/apps/site/src/styles/surfaces/specification.css @@ -90,6 +90,9 @@ [data-pdpp-doc-theme] #nd-docs-layout { --fd-banner-height: 4rem; --fd-docs-height: calc(100dvh - 4rem); + /* Fumadocs reserves 3.5rem here by default, but the concept subnav is + 3rem. Keep the grid row equal to the rendered header. */ + --fd-header-height: 3rem; /* The table scrollport outsets through the article's right inset. The grid otherwise clips that extra width before it reaches the outer container. */ overflow-x: visible;