Skip to content

Commit

Permalink
fix: image src
Browse files Browse the repository at this point in the history
  • Loading branch information
preschian committed Aug 10, 2023
1 parent f72e6e3 commit 3437765
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/carousel/module/CarouselMedia.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
:to="urlOf({ id: item.id, url, chain: item.chain })"
rel="nofollow">
<MediaItem
class="carousel__image-wrapper"
:src="item.image || ''"
class="carousel-media-wrapper"
:src="imageSrc || ''"
:animation-src="item.animationUrl || ''"
:title="item.name" />
</nuxt-link>
Expand Down
8 changes: 7 additions & 1 deletion styles/components/_carousel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
&:hover {
border-color: theme('border-color');
.carousel-media {
opacity: theme('card-hover-opacity');}
opacity: theme('card-hover-opacity');
}
}
}
}
Expand All @@ -34,6 +35,11 @@
display: block;
}
}

&-wrapper {
box-shadow: none !important;
border: none !important;
}
}

.carousel-info {
Expand Down

0 comments on commit 3437765

Please sign in to comment.