From: Vincent Vanwaelscappel Date: Mon, 9 Sep 2019 14:03:00 +0000 (+0200) Subject: wait #3016 @0:05 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=dc88ccffe06af60266dcd1854db8633ad7fabf77;p=pmi.git wait #3016 @0:05 --- diff --git a/resources/js/carrousel.js b/resources/js/carrousel.js index 14cf143..cec155d 100644 --- a/resources/js/carrousel.js +++ b/resources/js/carrousel.js @@ -39,7 +39,6 @@ window.Hammer = Hammer.default; var $this = this; var i = 0; this.container.find(".slide").each(function () { - console.log(this); if (i === 0) { $(this).addClass('active').removeClass('hide'); } else { diff --git a/resources/styles/components/carrousel.styl b/resources/styles/components/carrousel.styl index 2d30d35..57da66a 100644 --- a/resources/styles/components/carrousel.styl +++ b/resources/styles/components/carrousel.styl @@ -124,7 +124,7 @@ bottom: 0 opacity: 0.3 height 110% - z-index: -1; + z-index: 0; @media only screen and (min-width: 769px) display: none @@ -135,6 +135,8 @@ margin-bottom 0 !important .text-block + z-index 1 + position relative @media (max-width: 769px) padding 0 5vw !important