diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-06-01 16:07:49 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-06-01 16:07:49 +0200 |
commit | 61624aeafbac60d4fb2a51368afc9a18d339309b (patch) | |
tree | 354fb5c32fbf23b9e049d961fe908c1e996c5ec9 /js | |
parent | cd5c9c5b9d6480403fb6023b54bd5b18a6009da2 (diff) | |
download | fosdem-2021-minimalism-presentation-61624aeafbac60d4fb2a51368afc9a18d339309b.tar fosdem-2021-minimalism-presentation-61624aeafbac60d4fb2a51368afc9a18d339309b.tar.gz |
🤦
Diffstat (limited to 'js')
-rw-r--r-- | js/reveal.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/reveal.js b/js/reveal.js index 36ea3dc..44e3d85 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -422,8 +422,8 @@ export default function( revealElement, options ) { dom.wrapper.setAttribute( 'data-background-transition', config.backgroundTransition ); // Expose our configured slide dimensions as custom props - dom.viewport.style.setProperty( '--size-width', config.width + 'px' ); - dom.viewport.style.setProperty( '--size-height', config.height + 'px' ); + dom.viewport.style.setProperty( '--slide-width', config.width + 'px' ); + dom.viewport.style.setProperty( '--slide-height', config.height + 'px' ); if( config.shuffle ) { shuffle(); |