merge vertical centering for individual slides

This commit is contained in:
Hakim El Hattab committed 2013-10-27 15:44:26 -04:00
commit 7cb8d96529
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1108,7 +1108,7 @@ var Reveal = (function(){
continue;
}
if( config.center ) {
if( config.center || slide.classList.contains( 'center' ) ) {
// Vertical stacks are not centred since their section
// children will be
if( slide.classList.contains( 'stack' ) ) {