diff --git a/docs/src/app/(public)/(content)/react/components/accordion/demos/hero/css-modules/index.module.css b/docs/src/app/(public)/(content)/react/components/accordion/demos/hero/css-modules/index.module.css index 839037f44f..b13cc2b4b2 100644 --- a/docs/src/app/(public)/(content)/react/components/accordion/demos/hero/css-modules/index.module.css +++ b/docs/src/app/(public)/(content)/react/components/accordion/demos/hero/css-modules/index.module.css @@ -10,6 +10,10 @@ .Item { border-bottom: 1px solid var(--color-gray-200); + + &[data-closed] { + overflow-anchor: none; + } } .Header { diff --git a/docs/src/app/(public)/(content)/react/components/accordion/demos/hero/tailwind/index.tsx b/docs/src/app/(public)/(content)/react/components/accordion/demos/hero/tailwind/index.tsx index 8ba8a16ddd..0ae5fb104e 100644 --- a/docs/src/app/(public)/(content)/react/components/accordion/demos/hero/tailwind/index.tsx +++ b/docs/src/app/(public)/(content)/react/components/accordion/demos/hero/tailwind/index.tsx @@ -4,7 +4,7 @@ import { Accordion } from '@base-ui-components/react/accordion'; export default function ExampleAccordion() { return ( - + What is Base UI? @@ -19,7 +19,7 @@ export default function ExampleAccordion() { - + How do I get started? @@ -34,7 +34,7 @@ export default function ExampleAccordion() { - + Can I use it for my project?