We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f05920f commit 73f043fCopy full SHA for 73f043f
src/Editor.tsx
@@ -132,11 +132,11 @@ export const Editor: FC = () => {
132
{/* CODE EDITOR */}
133
<div
134
className={cn(
135
- "absolute mt-12 flex h-full w-full justify-end p-3",
+ "pointer-events-none absolute mt-12 flex w-full justify-end p-3",
136
tab !== "code" && "hidden",
137
)}
138
>
139
- <Button className="z-10" variant="subtle" size="sm" onClick={onCopy}>
+ <Button className="pointer-events-auto z-10" variant="subtle" size="sm" onClick={onCopy}>
140
{codeCopied ? <CheckIcon /> : <CopyIcon />} Copy
141
</Button>
142
</div>
0 commit comments