Skip to content

Commit 06aa1f2

Browse files
committed
fix: fix the giveaway card (#1357)
1 parent 3edcc80 commit 06aa1f2

1 file changed

Lines changed: 19 additions & 21 deletions

File tree

src/pages/dashboard/giveaway/index.tsx

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -743,32 +743,30 @@ const GiveawayPage: React.FC = () => {
743743

744744
{/* Giveaway Stats Grid */}
745745
<motion.section
746-
className="dashboard-stats-section"
746+
className="dashboard-stats-section grid grid-cols-1 md:grid-cols-3 gap-4 flex-wrap"
747747
initial={{ opacity: 0, y: 10 }}
748748
whileInView={{ opacity: 1 }}
749749
transition={{ duration: 0.6 }}
750750
viewport={{ once: true }}
751751
>
752-
<div className="">
753-
<StatCard
754-
icon="⏳"
755-
title="Next Giveaway"
756-
valueText="5 Days"
757-
description="Time remaining"
758-
/>
759-
<StatCard
760-
icon="🎫"
761-
title="Entries"
762-
valueText={leaderboard.length.toString()}
763-
description="Total participants"
764-
/>
765-
<StatCard
766-
icon="🏅"
767-
title="Total Winners"
768-
valueText="3"
769-
description="Winners per giveaway"
770-
/>
771-
</div>
752+
<StatCard
753+
icon="⏳"
754+
title="Next Giveaway"
755+
valueText="5 Days"
756+
description="Time remaining"
757+
/>
758+
<StatCard
759+
icon="🎫"
760+
title="Entries"
761+
valueText={leaderboard.length.toString()}
762+
description="Total participants"
763+
/>
764+
<StatCard
765+
icon="🏅"
766+
title="Total Winners"
767+
valueText="3"
768+
description="Winners per giveaway"
769+
/>
772770
</motion.section>
773771

774772
{/* Giveaway Leaderboard */}

0 commit comments

Comments
 (0)