docs: codeblock style fix after fuma upgrade (#4456)

This commit is contained in:
KinfeMichael Tariku
2025-09-05 19:11:17 +03:00
committed by GitHub
parent c5f595a767
commit 11deccbd6a
2 changed files with 2 additions and 1 deletions

View File

@@ -75,7 +75,7 @@ export default async function Page({
return ( return (
<CodeBlockTabs <CodeBlockTabs
{...props} {...props}
className="p-0 rounded-lg border-b bg-fd-secondary" className="p-0 border-0 rounded-lg bg-fd-secondary"
> >
<div {...props}>{props.children}</div> <div {...props}>{props.children}</div>
</CodeBlockTabs> </CodeBlockTabs>

View File

@@ -149,6 +149,7 @@ export function CodeBlock({
!isTab && [bg, "rounded-none border border-x-0 border-b-0"], !isTab && [bg, "rounded-none border border-x-0 border-b-0"],
"text-[13px] overflow-auto max-h-[600px] bg-fd-muted/50 fd-scroll-container", "text-[13px] overflow-auto max-h-[600px] bg-fd-muted/50 fd-scroll-container",
viewportProps.className, viewportProps.className,
!title && "border-t-0",
)} )}
style={ style={
{ {