Skip to content

Commit

Permalink
Fix: Fix modal
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Apr 6, 2024
1 parent 469cc14 commit b6ca2fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/components/ModalPortal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ const ModalPortal: React.FC<{
}}
>
{isOpen && (
<div className="bg-white dark:bg-slate-800 rounded-lg shadow-lg p-4">
<div
className="bg-white dark:bg-slate-800 rounded-lg shadow-lg p-4"
onClick={(e) => e.stopPropagation()}
>
{children}
</div>
)}
Expand Down

0 comments on commit b6ca2fc

Please sign in to comment.