put edit profile z-index below side menu

This commit is contained in:
Sinclair Chen 2022-09-28 14:30:00 -07:00
parent 83de206e9e
commit 1f2c7271b7

View File

@ -83,7 +83,7 @@ export function UserPage(props: { user: User }) {
className="bg-white shadow-sm shadow-indigo-300"
/>
{isCurrentUser && (
<div className="absolute z-50 ml-16 mt-16 rounded-full bg-indigo-600 p-2 text-white shadow-sm shadow-indigo-300">
<div className="absolute ml-16 mt-16 rounded-full bg-indigo-600 p-2 text-white shadow-sm shadow-indigo-300">
<SiteLink href="/profile">
<PencilIcon className="h-5" />{' '}
</SiteLink>