['render'];
/**
diff --git a/apps/docs/src/components/theme-controls.tsx b/apps/docs/src/components/theme-controls.tsx
index d68acc9b..a3181b94 100644
--- a/apps/docs/src/components/theme-controls.tsx
+++ b/apps/docs/src/components/theme-controls.tsx
@@ -68,6 +68,7 @@ export function ThemeControls({ className, ...props }: ComponentProps<'div'>) {
return (
* {
.luke-ui-theme #nd-notebook-layout article h1:first-of-type {
line-height: 36px;
}
+
+/*
+ * Contain in-flow stacking (example resize grips, code copy controls) so
+ * descendants cannot paint over the sticky header. Isolation rather than a
+ * higher header z-index.
+ */
+.luke-ui-theme #nd-notebook-layout article {
+ isolation: isolate;
+}
diff --git a/docs/DOCUMENTATION.md b/docs/DOCUMENTATION.md
index 1af6b74f..fb46a46f 100644
--- a/docs/DOCUMENTATION.md
+++ b/docs/DOCUMENTATION.md
@@ -388,7 +388,8 @@ the wordmark, the primary destinations, search, and the appearance controls. The
`/`, the landing page. Docs opens `/docs/installation`. Components opens `/components`. The
destination list and its active-route matching live in `apps/docs/src/lib/site-destinations.ts`, so
the nav and the docs layout navigate to the same places. Appearance controls belong to the nav on
-every surface, not to the docs sidebar footer.
+every surface, not to the docs sidebar footer. They use flush ghost toggles so they sit on the
+header's translucent background instead of painting an opaque well.
The landing page at `/` renders `SiteNav` with no docs sidebar. It has no active destination.
@@ -405,6 +406,10 @@ they never appear twice. It also keeps the bar on one row at exactly `h-14`, whi
Surfaces with no sidebar keep the destinations at every width, moving them to a second nav row below
`md`.
+The notebook article and each example frame use `isolation: isolate` so in-flow stacking, such as
+example resize grips, cannot paint over the sticky header. Do not raise the header `z-index` to
+compete with page content.
+
## Playground
The docs site has a live playground at `/playground`: a Monaco editor with TypeScript IntelliSense