From aa77fda9973bc9ce408bb0f30b9bc9448646e8ea Mon Sep 17 00:00:00 2001 From: upsiflu Date: Wed, 29 Jan 2025 09:58:26 +0100 Subject: [PATCH] fix(ui): card component with `to` prop: user can also lick on image to follow link --- front/src/components/ui/Card.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/front/src/components/ui/Card.vue b/front/src/components/ui/Card.vue index cfc023d95..27ede478b 100644 --- a/front/src/components/ui/Card.vue +++ b/front/src/components/ui/Card.vue @@ -154,6 +154,7 @@ const attributes = computed(() => width: 100%; aspect-ratio: 1; position:relative; + pointer-events: none; &.with-padding { margin: var(--fw-card-padding) var(--fw-card-padding) calc(var(--fw-card-padding) / 2) var(--fw-card-padding);