From db66a133dabc5b162ac177a6f3df7ceb05c5a9c7 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 24 Oct 2024 18:10:35 +0200 Subject: [PATCH] wait #7152 @1.25 --- js/libs/fluidbook/slideshow/fluidbook.slideshow.splide.js | 4 ++-- style/slideshow/splide.less | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/js/libs/fluidbook/slideshow/fluidbook.slideshow.splide.js b/js/libs/fluidbook/slideshow/fluidbook.slideshow.splide.js index 15f9dcf0..e5d4cc56 100644 --- a/js/libs/fluidbook/slideshow/fluidbook.slideshow.splide.js +++ b/js/libs/fluidbook/slideshow/fluidbook.slideshow.splide.js @@ -1,6 +1,6 @@ function FluidbookSplideSlideshow(fluidbook) { this.fluidbook = fluidbook; - this.name = 'splide'; + this.name='splide' } FluidbookSplideSlideshow.prototype = { @@ -90,7 +90,7 @@ FluidbookSplideSlideshow.prototype = { } // On small/short screens, thumbnails are hidden and close icon / header is reduced - var optimizeHeight = (h < 600); + var optimizeHeight = (h < 500); if (optimizeHeight) { this.$thumbnails.hide(); diff --git a/style/slideshow/splide.less b/style/slideshow/splide.less index aeac61b5..a288fc39 100644 --- a/style/slideshow/splide.less +++ b/style/slideshow/splide.less @@ -338,6 +338,10 @@ &.small { padding-bottom: 30px; + + .fb-slideshow-thumbnails{ + display: none; + } } @media (max-width: 799px) { -- 2.39.5