This commit is contained in:
Hakim El Hattab committed 2020-06-01 16:07:49 +02:00
1 parent cd5c9c5b9d
commit 61624aeafb
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -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();