diff options
| author | Albert Krewinkel <[email protected]> | 2022-12-22 12:05:36 +0100 |
|---|---|---|
| committer | Albert Krewinkel <[email protected]> | 2022-12-22 12:07:30 +0100 |
| commit | 528013b2fe414a609a2419bbe4bbbe40a4dd554b (patch) | |
| tree | 3e4da184ce70cf988f11b7f0e87c417175979b21 | |
| parent | 21baefbbbbf70e43640f68b0fbe8f3e3059934c8 (diff) | |
Reveal.js template: prevent line-wrapping of parallax options
Fixes: #8503
| -rw-r--r-- | data/templates/default.revealjs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs index e1ca8b824..78edbae77 100644 --- a/data/templates/default.revealjs +++ b/data/templates/default.revealjs @@ -235,28 +235,28 @@ $endif$ $if(parallaxBackgroundImage)$ // Parallax background image - parallaxBackgroundImage: '$parallaxBackgroundImage$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'" + parallaxBackgroundImage: '$parallaxBackgroundImage/nowrap$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'" $else$ $if(background-image)$ // Parallax background image - parallaxBackgroundImage: '$background-image$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'" + parallaxBackgroundImage: '$background-image/nowrap$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'" $endif$ $endif$ $if(parallaxBackgroundSize)$ // Parallax background size - parallaxBackgroundSize: '$parallaxBackgroundSize$', // CSS syntax, e.g. "2100px 900px" + parallaxBackgroundSize: '$parallaxBackgroundSize/nowrap$', // CSS syntax, e.g. "2100px 900px" $endif$ $if(parallaxBackgroundHorizontal)$ // Amount to move parallax background (horizontal and vertical) on slide change // Number, e.g. 100 - parallaxBackgroundHorizontal: $parallaxBackgroundHorizontal$, + parallaxBackgroundHorizontal: $parallaxBackgroundHorizontal/nowrap$, $endif$ $if(parallaxBackgroundVertical)$ - parallaxBackgroundVertical: $parallaxBackgroundVertical$, + parallaxBackgroundVertical: $parallaxBackgroundVertical/nowrap$, $endif$ $if(width)$ |
