diff --git a/src/components/InvitationCard.tsx b/src/components/InvitationCard.tsx index dcf9bc4e0..5a0727b61 100644 --- a/src/components/InvitationCard.tsx +++ b/src/components/InvitationCard.tsx @@ -13,20 +13,20 @@ interface InvitationCardType { // Define the InvitationCard component using a function declaration function InvitationCard({ icon, status, time, staticNumber, percentage }: InvitationCardType) { return ( -
+
{icon}
-

{status}

+

{status}

{time}

-
{staticNumber} +
{staticNumber}
diff --git a/src/pages/invitation.tsx b/src/pages/invitation.tsx index 1aeddeea3..69a838e2e 100644 --- a/src/pages/invitation.tsx +++ b/src/pages/invitation.tsx @@ -199,37 +199,38 @@ function Invitation() { const handleCloseModal = () => setIsModalOpen(false); return ( -
+
{/* Header and Invite Button */} -
-

Invitation Stats

+
+
+

Invitation Stats

+
+ + {/* Select Dropdown for Small Screens */} + +
+
- {/* Container for Select and Cards */}
- {/* Select Dropdown for Small Screens */} -
- - -
{/* Invitation Cards */} -
+
@@ -267,9 +268,9 @@ function Invitation() {
{/* Select Dropdown for Desktop */} -
+
- @@ -311,7 +312,7 @@ function Invitation() { diff --git a/tailwind.config.js b/tailwind.config.js index afa42ac5a..4a52d5bb6 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -4,6 +4,7 @@ module.exports = { theme: { extend: { screens: { + xm:'360px', sm: '375px', md: '768px', lg: '976px',