forked from blallo/talk-hm-0x15
merge vertical centering for individual slides
This commit is contained in:
commit
7cb8d96529
2 changed files with 3 additions and 3 deletions
|
@ -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' ) ) {
|
||||
|
|
4
js/reveal.min.js
vendored
4
js/reveal.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue