diff --git a/src/components/code-editor.tsx b/src/components/code-editor.tsx index 66bb569..46006e7 100644 --- a/src/components/code-editor.tsx +++ b/src/components/code-editor.tsx @@ -102,7 +102,7 @@ export default function CodeEditor() { defaultValue={DEFAULT_VALUE[language]} path={DEFAULT_PATH[language]} theme={resolvedTheme === "light" ? "github-light-default" : "github-dark-default"} - className="h-[calc(100vh-112px)]" + className="h-[calc(100vh-130px)]" options={mergeOptions} beforeMount={(monaco) => { shikiToMonaco(highlighter, monaco); diff --git a/src/components/mdx-preview.tsx b/src/components/mdx-preview.tsx index 9455950..81dfb11 100644 --- a/src/components/mdx-preview.tsx +++ b/src/components/mdx-preview.tsx @@ -109,7 +109,7 @@ export default function MdxPreview({ source }: MdxPreviewProps) { } return ( - +