Skip to content

Commit 90fa0eb

Browse files
committed
chore: Height fix for editor
1 parent b4bbf6c commit 90fa0eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/layout/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export function Header(): ReactElement {
22
return (
33
<a href="/" className="text-3xl font-bold">
4-
TypeScript Practices
4+
TypeScript Practice
55
</a>
66
);
77
}

src/components/molecules/StaticEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export function StaticEditor({ code }: { code: string }): ReactElement {
7676
) : null}
7777
<div>
7878
<h2 className="font-bold text-2xl mb-4">Preview</h2>
79-
<div id="monaco-editor-embed" className="text-start w-full" style={{ height: 800 }}></div>
79+
<div id="monaco-editor-embed" className="text-start w-full" style={{ height: 600 }}></div>
8080
</div>
8181
</>
8282
);

0 commit comments

Comments
 (0)