diff --git a/src/components/core/update/updateSlides.js b/src/components/core/update/updateSlides.js index fa040e4c6..f2d57991a 100644 --- a/src/components/core/update/updateSlides.js +++ b/src/components/core/update/updateSlides.js @@ -135,7 +135,7 @@ export default function updateSlides() { } slide.css( getDirectionLabel('margin-top'), - row !== 0 && params.spaceBetween && `${params.spaceBetween}px`, + row !== 0 ? params.spaceBetween && `${params.spaceBetween}px` : '', ); } if (slide.css('display') === 'none') continue; // eslint-disable-line