mirror of
https://github.com/EdiFarcas/Giveaway-app.git
synced 2026-06-22 07:00:57 +03:00
Blured Background on the modal
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user