Skip to content

Commit 73f043f

Browse files
committed
fix: unblock editor scroll bar
1 parent f05920f commit 73f043f

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
@@ -132,11 +132,11 @@ export const Editor: FC = () => {
132132
{/* CODE EDITOR */}
133133
<div
134134
className={cn(
135-
"absolute mt-12 flex h-full w-full justify-end p-3",
135+
"pointer-events-none absolute mt-12 flex w-full justify-end p-3",
136136
tab !== "code" && "hidden",
137137
)}
138138
>
139-
<Button className="z-10" variant="subtle" size="sm" onClick={onCopy}>
139+
<Button className="pointer-events-auto z-10" variant="subtle" size="sm" onClick={onCopy}>
140140
{codeCopied ? <CheckIcon /> : <CopyIcon />} Copy
141141
</Button>
142142
</div>

0 commit comments

Comments
 (0)