style: Adjust copy button position in APITabsComponent (#8801)

🐛 (code-tabs.tsx): fix button positioning by adjusting right margin to 4px instead of 2px
This commit is contained in:
Cristhian Zanforlin Lousa 2025-07-01 14:09:27 -03:00 committed by GitHub
commit b7af3d5446
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -149,7 +149,7 @@ export default function APITabsComponent() {
size="icon"
onClick={copyToClipboard}
data-testid="btn-copy-code"
className="!hover:bg-foreground group absolute right-2 top-2"
className="!hover:bg-foreground group absolute right-4 top-2"
>
{isCopied ? (
<IconComponent