tiny-vue
tiny-vue copied to clipboard
🐛 [Carousel]: 垂直模式的时候,设置arrow属性,箭头显示位置有误
Version
latest
Vue Version
latest
Link to minimal reproduction
<template>
<tiny-carousel height="150px" type="vertical" arrow>
<tiny-carousel-item class="carousel-item-demo" v-for="item in 4" :key="item">
<h3>{{ item }}</h3>
</tiny-carousel-item>
</tiny-carousel>
</template>
<script lang="jsx">
import { Carousel, CarouselItem } from '@opentiny/vue'
export default {
components: {
TinyCarousel: Carousel,
TinyCarouselItem: CarouselItem
}
}
</script>
<style scoped>
.carousel-item-demo:nth-child(2n) {
background-color: #fafafa;
}
.carousel-item-demo:nth-child(2n + 1) {
background-color: #edf0f3;
}
</style>
Step to reproduce
点击链接即可查看效果
What is expected
上下箭头位置合理
What is actually happening
上下箭头重合了
What is your project name
null
Any additional comments (optional)
No response
Bot detected the issue body's language is not English, translate it automatically.
Title: 🐛 [Carousel]: When setting the arrow attribute in vertical mode, the arrow display position is wrong.
待评估,纵向模式下,箭头是否需要
Bot detected the issue body's language is not English, translate it automatically.
To be evaluated, whether arrows are needed in portrait mode