+
{title && (
-
+
{title}
)}
- {children &&
{children}
}
+ {children && (
+
+ {children}
+
+ )}
);
@@ -58,7 +61,7 @@ export function Card({
href={href}
target="_blank"
rel="noopener noreferrer"
- className="no-underline !text-inherit"
+ className="!text-inherit no-underline"
>
{inner}
@@ -69,7 +72,7 @@ export function Card({
const resolved = resolve(internalPath);
return (
-
+
{inner}
);
diff --git a/docs-site/components/docs/mdx/CodeBlock.tsx b/docs-site/components/docs/mdx/CodeBlock.tsx
index 70281bdbb..2095c517a 100644
--- a/docs-site/components/docs/mdx/CodeBlock.tsx
+++ b/docs-site/components/docs/mdx/CodeBlock.tsx
@@ -58,9 +58,9 @@ export function CodeBlock({
{children}
{/* Overlay: inset matches pre's border (1px) so gradient fills to the edge */}
-
+