mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-26 05:23:40 +00:00
UI: fix page styles
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'fumadocs-ui': patch
|
||||
---
|
||||
|
||||
revert `contain`
|
||||
@@ -264,17 +264,9 @@ export const DocsBody = forwardRef<
|
||||
HTMLDivElement,
|
||||
HTMLAttributes<HTMLDivElement>
|
||||
>((props, ref) => (
|
||||
<div
|
||||
ref={ref}
|
||||
{...props}
|
||||
className={cn('prose contain-content', props.className)}
|
||||
style={
|
||||
{
|
||||
contentVisibility: 'auto',
|
||||
...props.style,
|
||||
} as object
|
||||
}
|
||||
/>
|
||||
<div ref={ref} {...props} className={cn('prose', props.className)}>
|
||||
{props.children}
|
||||
</div>
|
||||
));
|
||||
|
||||
DocsBody.displayName = 'DocsBody';
|
||||
|
||||
Reference in New Issue
Block a user