From 8809db582ccf45fcd477f46dcf70e106720626a8 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 30 May 2023 16:13:44 +0200 Subject: [PATCH] fix(front): fix homepage event and groups cards snapping Signed-off-by: Thomas Citharel --- js/src/components/Event/EventCard.vue | 6 +++--- js/src/components/Group/GroupCard.vue | 4 ++-- js/src/components/Local/CloseContent.vue | 14 +++++++++----- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/js/src/components/Event/EventCard.vue b/js/src/components/Event/EventCard.vue index a7fc8ac8..c2c24f96 100644 --- a/js/src/components/Event/EventCard.vue +++ b/js/src/components/Event/EventCard.vue @@ -3,7 +3,7 @@ class="mbz-card snap-center dark:bg-mbz-purple" :class="{ 'sm:flex sm:items-start': mode === 'row', - 'sm:max-w-xs sm:w-[18rem] shrink-0 flex flex-col': mode === 'column', + 'sm:max-w-xs w-[18rem] shrink-0 flex flex-col': mode === 'column', }" :to="to" :isInternal="isInternal" @@ -119,8 +119,8 @@ {{ t( "{count} participants", - event.participantStats?.participant, - { count: event.participantStats?.participant } + { count: event.participantStats?.participant }, + event.participantStats?.participant ) }} diff --git a/js/src/components/Group/GroupCard.vue b/js/src/components/Group/GroupCard.vue index fa6992bb..7ef9c2ed 100644 --- a/js/src/components/Group/GroupCard.vue +++ b/js/src/components/Group/GroupCard.vue @@ -2,10 +2,10 @@
diff --git a/js/src/components/Local/CloseContent.vue b/js/src/components/Local/CloseContent.vue index beb90477..f014875f 100644 --- a/js/src/components/Local/CloseContent.vue +++ b/js/src/components/Local/CloseContent.vue @@ -19,10 +19,10 @@
- -