From 2d6f4ce7d03ab19ac393a05c80b46ba1efe14eaf Mon Sep 17 00:00:00 2001 From: vellip Date: Fri, 11 Nov 2016 11:48:46 +0100 Subject: [PATCH] fix slider for safari, let the slider start at 0 --- euth_wagtail/assets/js/euth_wagtail.js | 1 - euth_wagtail/assets/scss/components/_carousel.scss | 1 + home/templates/home/home_page.html | 6 ++++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/euth_wagtail/assets/js/euth_wagtail.js b/euth_wagtail/assets/js/euth_wagtail.js index 363cba3b0..78ad6362a 100644 --- a/euth_wagtail/assets/js/euth_wagtail.js +++ b/euth_wagtail/assets/js/euth_wagtail.js @@ -23,7 +23,6 @@ $(document).ready(function () { nav: true, margin: 20, stagePadding: 30, - startPosition: 1, navText: ['', ''], responsive: { 0: { diff --git a/euth_wagtail/assets/scss/components/_carousel.scss b/euth_wagtail/assets/scss/components/_carousel.scss index 76823211c..36f0f5bc3 100644 --- a/euth_wagtail/assets/scss/components/_carousel.scss +++ b/euth_wagtail/assets/scss/components/_carousel.scss @@ -61,5 +61,6 @@ } .home-carousel { + overflow-x: hidden; @include rem(padding, 20px 0 30px); } diff --git a/home/templates/home/home_page.html b/home/templates/home/home_page.html index 6b936dd97..d0a384028 100644 --- a/home/templates/home/home_page.html +++ b/home/templates/home/home_page.html @@ -11,8 +11,10 @@

{% trans 'Latest projects on OPIN' %}

-