feat: sửa poster dọc ngang ở home

This commit is contained in:
ngthanhvu
2026-07-30 21:38:01 -04:00
parent 310b1d0949
commit 2ab5766e02
4 changed files with 210 additions and 136 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ defineExpose({ goTo })
<SwiperSlide v-for="(slide, index) in props.slides" :key="`${slide.source}-${slide.slug}-${index}`"
class="h-full w-full">
<img :src="slide.poster || slide.thumb" :alt="slide.name"
class="absolute inset-[-1px] h-[calc(100%+2px)] w-[calc(100%+2px)] max-w-none object-cover object-top lg:object-[72%_center]">
class="absolute -inset-px h-[calc(100%+2px)] w-[calc(100%+2px)] max-w-none object-cover object-top lg:object-[72%_center]">
</SwiperSlide>
</Swiper>
</template>