Skip to content

Commit

Permalink
No Space between add link and first link EddieHubCommunity#9406
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptShah committed Nov 22, 2023
1 parent 8eef22c commit b8ab428
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/account/manage/Edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import PencilIcon from "@heroicons/react/24/outline/PencilIcon";

export default function Edit({ href, label = "", children }) {
return (
<div className="relative w-full">
<div className="relative w-full mt-2">
<a
href={href}
aria-label={`Edit ${label}`}
className="rounded-full bg-secondary-medium p-2 text-white shadow-sm hover:bg-tertiary-medium focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-secondary-medium absolute top-0 left-0 pointer z-10"
className="rounded-full bg-secondary-medium p-2 text-white shadow-sm hover:bg-tertiary-medium focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-secondary-medium absolute top-0 -left-4 pointer z-10"
>
<PencilIcon className="h-5 w-5" aria-hidden="true" />
</a>
Expand Down
2 changes: 1 addition & 1 deletion components/user/UserLink.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default function UserLink({
);

return (
<div className="flex flex-row gap-8 w-full">
<div className="flex flex-row gap-8 w-full pl-4">
{manage ? edit(link) : item(link)}
</div>
);
Expand Down

0 comments on commit b8ab428

Please sign in to comment.