All files / components/carousel-banner-wrappers/simple-carousel-banner-wrapper simple-carousel-banner-wrapper.vue

0% Statements 0/3
100% Branches 0/0
100% Functions 0/0
0% Lines 0/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45                                                                                         
<template>
  <div>
    <simple-img-banner
      v-if="bannerSpecs['whichBanner'] === 'one'"
      :textCardSpecs="{...textCardSpecs, isCategoryCarousel: carouselSpecs['isCategoryCarousel'], isNotPartOfWrapper: bannerSpecs['isNotPartOfWrapper']}"
      :bannerSpecs="bannerSpecs"
    ></simple-img-banner>
 
    <two-img-banner
      v-else
      :bannerSpecs="bannerSpecs"
      :textCardSpecs="{...textCardSpecs, isCategoryCarousel: carouselSpecs['isCategoryCarousel'], isNotPartOfWrapper: bannerSpecs['isNotPartOfWrapper']}"
    ></two-img-banner>
 
    <simple-carousel
      class="px-lg-intermediate px-inter-0 carousel-wrapper specific-breakpoint"
      :carouselSpecs="carouselSpecs"
    ></simple-carousel>
  </div>
</template>
 
<script>
 
import simpleCarousel from '../../carousels/simple-carousel/simple-carousel.vue';
import twoImgBanner from '../../banners/simple-banner/two-img-banner/two-img-banner.vue';
import simpleImgBanner from '../../banners/simple-banner/simple-img-banner/simple-img-banner.vue';
export default {
    components: { simpleCarousel, simpleImgBanner, twoImgBanner },
    props: [ 'carouselSpecs', 'textCardSpecs', 'bannerSpecs' ]
}
</script>
 
<style lang="scss" scoped>
 
@media screen and #{$ipad-pro-landscape-breakpoint},
screen and #{$ipad-pro-portrait-breakpoint},
screen and #{$ipad-landscape-breakpoint} {
  .carousel-wrapper.specific-breakpoint {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
 
</style>