mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-07 20:37:44 +00:00
docs: codeblock style fix after fuma upgrade (#4456)
This commit is contained in:
committed by
GitHub
parent
c5f595a767
commit
11deccbd6a
@@ -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>
|
||||||
|
|||||||
@@ -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={
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user