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 866e66d commit b7de852Copy full SHA for b7de852
apps/docs/components/code-window/code-window.tsx
@@ -90,7 +90,7 @@ export const CodeWindow: React.FC<CodeWindowProps> = ({highlightLines, showCopy,
90
return (
91
<div className="relative">
92
<CodeBlock ref={wrapperRef} {...props} />
93
- {showCopy && <CopyButton value={props.value} />}
+ {showCopy && <CopyButton className="top-2 absolute right-2" value={props.value} />}
94
</div>
95
);
96
};
0 commit comments