fix(mdx-preview): adjust max height calculation for ScrollArea component
This commit is contained in:
parent
97a1cb584e
commit
844e9f0cca
@ -113,7 +113,7 @@ export default function MdxPreview({ source }: MdxPreviewProps) {
|
||||
}
|
||||
|
||||
return (
|
||||
<ScrollArea className="[&>[data-radix-scroll-area-viewport]]:max-h-[calc(100vh-131px)]">
|
||||
<ScrollArea className="[&>[data-radix-scroll-area-viewport]]:max-h-[calc(100vh-130px)]">
|
||||
<div className="markdown-body">
|
||||
<MDXRemote {...mdxSource!} components={components} />
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user