From 09d1811a83416a36e0e41bb549758a31e656fd81 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 30 Jul 2023 17:51:50 +0800 Subject: [PATCH] fix card --- src/components/cards/MediaCard.vue | 2 +- src/components/cards/PersonCard.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/cards/MediaCard.vue b/src/components/cards/MediaCard.vue index e44243f8..8f73661d 100644 --- a/src/components/cards/MediaCard.vue +++ b/src/components/cards/MediaCard.vue @@ -387,7 +387,7 @@ const getImgUrl: Ref = computed(() => { v-bind="hover.props" :height="props.height" :width="props.width" - class="outline-none shadow ring-gray-500" + class="outline-none shadow ring-gray-500 rounded-lg" :class="{ 'transition transform-cpu duration-300 scale-105 shadow-lg': hover.isHovering, 'ring-1': isImageLoaded, diff --git a/src/components/cards/PersonCard.vue b/src/components/cards/PersonCard.vue index 7878781f..03c0b452 100644 --- a/src/components/cards/PersonCard.vue +++ b/src/components/cards/PersonCard.vue @@ -42,6 +42,7 @@ function goPersonDetail() { v-bind="hover.props" :height="personProps.height" :width="personProps.width" + class="rounded-lg" :class="{ 'transition transform-cpu duration-300 scale-105': hover.isHovering, }"