diff --git a/.changeset/spotty-poems-appear.md b/.changeset/spotty-poems-appear.md new file mode 100644 index 000000000..609970d47 --- /dev/null +++ b/.changeset/spotty-poems-appear.md @@ -0,0 +1,5 @@ +--- +'fumadocs-ui': patch +--- + +Enable `content-visibility` CSS features diff --git a/packages/ui/src/page.tsx b/packages/ui/src/page.tsx index 6e1f6873e..aa375771c 100644 --- a/packages/ui/src/page.tsx +++ b/packages/ui/src/page.tsx @@ -263,8 +263,18 @@ function EditOnGitHub({ export const DocsBody = forwardRef< HTMLDivElement, HTMLAttributes ->(({ className, ...props }, ref) => ( -
+>((props, ref) => ( +
)); DocsBody.displayName = 'DocsBody';