Skip to content

Commit

Permalink
Fix close icon position on read and write methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Pabl0cks committed Feb 7, 2024
1 parent 5e11bb0 commit 453f4cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ export const ContractReadMethods = ({
/>
<button
onClick={() => removeMethod(fn.name)}
className="absolute top-0 right-0 p-1 btn btn-ghost btn-xs pt-[22px]"
className="absolute top-0 right-0 btn btn-ghost btn-xs mt-[21px]"
aria-label="Remove method"
>
<XMarkIcon className="h-5 w-5" />
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const ContractWriteMethods = ({
/>
<button
onClick={() => removeMethod(fn.name)}
className="absolute top-0 right-0 p-1 btn btn-ghost btn-xs pt-[22px]"
className="absolute top-0 right-0 btn btn-ghost btn-xs mt-[21px]"
aria-label="Remove method"
>
<XMarkIcon className="h-5 w-5" />
Expand Down

0 comments on commit 453f4cd

Please sign in to comment.