Skip to content

Commit 46df927

Browse files
committed
fix: restore code overflow behavior
1 parent 4c748e2 commit 46df927

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Editor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export const Editor: FC = () => {
125125
</div>
126126

127127
{/* CODE EDITOR */}
128-
<div className="relative h-full w-full">
128+
<div className="relative h-full w-full overflow-y-scroll">
129129
<Button
130130
className="absolute top-3 right-3 z-10"
131131
variant="subtle"
@@ -134,7 +134,7 @@ export const Editor: FC = () => {
134134
>
135135
{codeCopied ? <CheckIcon /> : <CopyIcon />} Copy
136136
</Button>
137-
<div className="h-full w-full overflow-y-scroll bg-surface-secondary font-mono">
137+
<div className="h-full w-full bg-surface-secondary font-mono">
138138
<CodeEditor
139139
value={$code}
140140
onValueChange={(code) => $setCode(code)}

0 commit comments

Comments
 (0)