fix overview slide positioning bug (closes #89)
parent
de86c4eb7c
commit
c448789016
|
@ -886,6 +886,8 @@ body {
|
||||||
|
|
||||||
.reveal.overview .slides section {
|
.reveal.overview .slides section {
|
||||||
padding: 20px 0;
|
padding: 20px 0;
|
||||||
|
max-height: 600px;
|
||||||
|
overflow: hidden;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background: rgba(0,0,0,0.1);
|
background: rgba(0,0,0,0.1);
|
||||||
|
@ -911,6 +913,7 @@ body {
|
||||||
.reveal.overview .slides>section.stack {
|
.reveal.overview .slides>section.stack {
|
||||||
background: none;
|
background: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*!
|
/*!
|
||||||
* reveal.js 1.5 r14
|
* reveal.js 1.5 r15
|
||||||
* http://lab.hakim.se/reveal-js
|
* http://lab.hakim.se/reveal-js
|
||||||
* MIT licensed
|
* MIT licensed
|
||||||
*
|
*
|
||||||
|
@ -476,7 +476,7 @@ var Reveal = (function(){
|
||||||
htransform = 'translateZ(-2500px) translate(' + ( ( i - indexh ) * 105 ) + '%, 0%)';
|
htransform = 'translateZ(-2500px) translate(' + ( ( i - indexh ) * 105 ) + '%, 0%)';
|
||||||
|
|
||||||
hslide.setAttribute( 'data-index-h', i );
|
hslide.setAttribute( 'data-index-h', i );
|
||||||
hslide.style.display = 'inline-block';
|
hslide.style.display = 'block';
|
||||||
hslide.style.WebkitTransform = htransform;
|
hslide.style.WebkitTransform = htransform;
|
||||||
hslide.style.MozTransform = htransform;
|
hslide.style.MozTransform = htransform;
|
||||||
hslide.style.msTransform = htransform;
|
hslide.style.msTransform = htransform;
|
||||||
|
@ -496,7 +496,7 @@ var Reveal = (function(){
|
||||||
|
|
||||||
vslide.setAttribute( 'data-index-h', i );
|
vslide.setAttribute( 'data-index-h', i );
|
||||||
vslide.setAttribute( 'data-index-v', j );
|
vslide.setAttribute( 'data-index-v', j );
|
||||||
vslide.style.display = 'inline-block';
|
vslide.style.display = 'block';
|
||||||
vslide.style.WebkitTransform = vtransform;
|
vslide.style.WebkitTransform = vtransform;
|
||||||
vslide.style.MozTransform = vtransform;
|
vslide.style.MozTransform = vtransform;
|
||||||
vslide.style.msTransform = vtransform;
|
vslide.style.msTransform = vtransform;
|
||||||
|
|
Loading…
Reference in New Issue