-1

When i am using carousel without v-for it is working fine but when i am using with v-for it align item vertically. I am putting code below:

<div class="main-carousel">
  <div class="carousel-cell" v-for="item in TaskTypesList" :key="index">
    <img src="" />
  </div>
</div>
Oleg Barabanov
  • 2,468
  • 2
  • 8
  • 17

1 Answers1

0

Have you tried adding display: flex on the parent element?

Ali Jalal
  • 26
  • 3