Skip to content

Commit

Permalink
fix: update max width of delete confirmation modal
Browse files Browse the repository at this point in the history
  • Loading branch information
ajyey committed Jun 28, 2023
1 parent a9e69e2 commit 42342b9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function DeleteConfirmationModal({
return (
<>
<div className="justify-center items-center flex overflow-x-hidden overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none">
<div className="relative w-auto my-6 mx-auto max-w-3xl">
<div className="relative w-auto my-6 mx-auto max-w-sm">
{/*content*/}
<div className=" rounded-lg shadow-lg relative flex flex-col w-full outline-none border-0 bg-white focus:outline-none">
{/*header*/}
Expand Down Expand Up @@ -53,7 +53,6 @@ export default function DeleteConfirmationModal({
</div>
</div>
</div>
<div className="opacity-25 fixed inset-0 z-40 bg-black"></div>
</>
);
}

0 comments on commit 42342b9

Please sign in to comment.