From 284a93f36195db20202f720f5c044be73393b3e8 Mon Sep 17 00:00:00 2001 From: Matthew Lipski Date: Mon, 29 Sep 2025 16:41:34 +0200 Subject: [PATCH 1/2] Made UI elements not overflow demo box --- docs/app/styles.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/app/styles.css b/docs/app/styles.css index a2c1a7449c..9fbec111f2 100644 --- a/docs/app/styles.css +++ b/docs/app/styles.css @@ -49,6 +49,14 @@ body { box-shadow: unset !important; } +.demo { + overflow: none; +} + +.demo .bn-container { + position: relative; +} + .demo .bn-container:not(.bn-comment-editor), .demo .bn-editor { height: 100%; From 595691562f0965f2a0d070375be51f2b379993e3 Mon Sep 17 00:00:00 2001 From: Matthew Lipski Date: Wed, 1 Oct 2025 17:09:38 +0200 Subject: [PATCH 2/2] Prevented header overflow --- docs/app/layout.tsx | 2 +- docs/app/styles.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/app/layout.tsx b/docs/app/layout.tsx index 077788b966..94864ef5f4 100644 --- a/docs/app/layout.tsx +++ b/docs/app/layout.tsx @@ -23,7 +23,7 @@ export default function Layout({ children }: { children: ReactNode }) { 🚀 BlockNote AI is here!{" "} diff --git a/docs/app/styles.css b/docs/app/styles.css index 9fbec111f2..1216a36202 100644 --- a/docs/app/styles.css +++ b/docs/app/styles.css @@ -45,6 +45,10 @@ body { color: var(--color-fd-primary); } +#nd-nav { + z-index: 10000; +} + :focus-visible { box-shadow: unset !important; }