Skip to content

Commit fda2b9b

Browse files
author
Robin
committed
v1.1.0
1 parent b048455 commit fda2b9b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function Home() {
1313
const editorState = useAppSelector((state) => state.editor);
1414

1515
return (
16-
<div className="flex min-h-screen flex-col gap-6 bg-background text-foreground">
16+
<div className="flex min-h-screen scroll-m-48 flex-col justify-center gap-6 bg-background text-foreground">
1717
<div
1818
className="flex justify-center"
1919
style={

src/components/HljsCodeEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default function HljsCodeEditor({ code }: { code: string }) {
7171

7272
return (
7373
<pre className="text-wrap px-3 py-5">
74-
<code className="whitespace-pre-wrap" ref={codeRef}>
74+
<code className="hljs whitespace-pre-wrap" ref={codeRef}>
7575
{code}
7676
</code>
7777
</pre>

0 commit comments

Comments
 (0)