diff --git a/src/revealers.js b/src/revealers.js index 75d2f6d4..ac2e077d 100644 --- a/src/revealers.js +++ b/src/revealers.js @@ -257,10 +257,9 @@ class ClapperRevealerBottom extends CustomRevealer { const maxWidth = 1720; - if(layoutWidth <= maxWidth) - return; - - const margin = (layoutWidth - maxWidth) / 2; + const margin = (layoutWidth > maxWidth) + ? (layoutWidth - maxWidth) / 2 + : 0; this.margin_start = margin; this.margin_end = margin;