diff --git a/beta/src/components/MDX/CodeBlock/CodeBlock.tsx b/beta/src/components/MDX/CodeBlock/CodeBlock.tsx index 0b44734a..b7894e53 100644 --- a/beta/src/components/MDX/CodeBlock/CodeBlock.tsx +++ b/beta/src/components/MDX/CodeBlock/CodeBlock.tsx @@ -146,7 +146,7 @@ const CodeBlock = function CodeBlock({ finalOutput.push(
-
+
+
{finalOutput}
diff --git a/beta/src/styles/sandpack.css b/beta/src/styles/sandpack.css
index e1ca99e3..fba8c6f7 100644
--- a/beta/src/styles/sandpack.css
+++ b/beta/src/styles/sandpack.css
@@ -230,6 +230,7 @@ html.dark .sandpack--playground .sp-overlay {
.sandpack--codeblock .cm-line {
margin-left: -20px;
padding-left: 20px;
+ padding-right: 20px;
}
/**