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:
parent
2242d7557f
commit
b7af3d5446
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue