aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2020-06-01 16:07:49 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2020-06-01 16:07:49 +0200
commit61624aeafbac60d4fb2a51368afc9a18d339309b (patch)
tree354fb5c32fbf23b9e049d961fe908c1e996c5ec9 /js
parentcd5c9c5b9d6480403fb6023b54bd5b18a6009da2 (diff)
downloadfosdem-2021-minimalism-presentation-61624aeafbac60d4fb2a51368afc9a18d339309b.tar
fosdem-2021-minimalism-presentation-61624aeafbac60d4fb2a51368afc9a18d339309b.tar.gz
🤦
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js4
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();