diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2012-08-04 18:16:27 -0400 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2012-08-04 18:16:41 -0400 |
commit | c448789016fa6b0a59dfa6c2d7c5a21cd9e5d27c (patch) | |
tree | c53a75806c92eef1e11ad0208b0ee4b1624860e9 /js/reveal.js | |
parent | de86c4eb7c723de9be035369ef286d7546ea318d (diff) | |
download | fosdem-2018-presentation-c448789016fa6b0a59dfa6c2d7c5a21cd9e5d27c.tar fosdem-2018-presentation-c448789016fa6b0a59dfa6c2d7c5a21cd9e5d27c.tar.gz |
fix overview slide positioning bug (closes #89)
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/reveal.js b/js/reveal.js index 593fad4..52df1b2 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1,5 +1,5 @@ /*! - * reveal.js 1.5 r14 + * reveal.js 1.5 r15 * http://lab.hakim.se/reveal-js * MIT licensed * @@ -476,7 +476,7 @@ var Reveal = (function(){ htransform = 'translateZ(-2500px) translate(' + ( ( i - indexh ) * 105 ) + '%, 0%)'; hslide.setAttribute( 'data-index-h', i ); - hslide.style.display = 'inline-block'; + hslide.style.display = 'block'; hslide.style.WebkitTransform = htransform; hslide.style.MozTransform = htransform; hslide.style.msTransform = htransform; @@ -496,7 +496,7 @@ var Reveal = (function(){ vslide.setAttribute( 'data-index-h', i ); vslide.setAttribute( 'data-index-v', j ); - vslide.style.display = 'inline-block'; + vslide.style.display = 'block'; vslide.style.WebkitTransform = vtransform; vslide.style.MozTransform = vtransform; vslide.style.msTransform = vtransform; |