diff --git a/front/src/components/artist/Card.vue b/front/src/components/artist/Card.vue index e2edc29bb..05ef94927 100644 --- a/front/src/components/artist/Card.vue +++ b/front/src/components/artist/Card.vue @@ -7,6 +7,7 @@ import { useI18n } from 'vue-i18n' import PlayButton from '~/components/audio/PlayButton.vue' import TagsList from '~/components/tags/List.vue' import Card from '~/components/ui/Card.vue' +import Spacer from '~/components/ui/Spacer.vue' import type { Artist } from '~/types' @@ -46,6 +47,7 @@ const imageUrl = computed(() => cover.value?.urls.original @@ -79,33 +81,20 @@ const imageUrl = computed(() => cover.value?.urls.original - diff --git a/front/src/components/ui/Card.vue b/front/src/components/ui/Card.vue index 8090972ec..f8e3e8ef2 100644 --- a/front/src/components/ui/Card.vue +++ b/front/src/components/ui/Card.vue @@ -49,11 +49,11 @@ const attributes = computed(() => -
+
+ :class="[{ [$style.image]: true, [$style['with-padding']]: image?.style === 'withPadding' }, 'card-image']" />