Blured Background on the modal

This commit is contained in:
Alexandru Eduard Farcas
2025-05-03 09:36:09 +03:00
parent dfbf6e585f
commit 8bdf2b40c2
+1 -1
View File
@@ -38,7 +38,7 @@ const GiveawayCard: React.FC<GiveawayCardProps> = ({ title, description, imageUr
{/* Modal */}
{isModalOpen && (
<div className="fixed inset-0 bg-gray-500 bg-opacity-50 flex justify-center items-center">
<div className="fixed inset-0 bg-opacity-50 backdrop-blur-sm z-50 flex justify-center items-center">
<div className="bg-white p-6 rounded-lg shadow-lg w-96">
<h2 className="text-xl font-bold mb-4">{title}</h2>
<p className="text-gray-600 mb-4">{description}</p>