mirror of
https://github.com/ngthanhvu/kr-phim.git
synced 2026-08-10 16:47:46 +00:00
feat: sửa poster dọc ngang ở home
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user