Skip to content

Commit 9d05c2c

Browse files
authored
Merge pull request #819 from l3montree-dev/fix/copy-button
fix: added cursor pointer
2 parents 6b4d367 + 52586d4 commit 9d05c2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/common/CopyCode.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const CopyCode: FunctionComponent<Props> = (props) => {
131131
<button
132132
type="button"
133133
onClick={handleCopy}
134-
className="absolute right-1 top-1/2 z-10 -translate-y-1/2 rounded-lg bg-card p-2 text-xs text-foreground transition-all hover:opacity-80"
134+
className="absolute cursor-pointer right-1 top-1/2 z-10 -translate-y-1/2 rounded-lg bg-card p-2 text-xs text-foreground transition-all hover:opacity-80"
135135
>
136136
<Copy className="h-4 w-4" />
137137
</button>

0 commit comments

Comments
 (0)