only offset slides vertically when center option is true

This commit is contained in:
Hakim El Hattab 2014-04-22 20:07:17 +02:00
parent 685b833e56
commit 38b11a4d8e
1 changed files with 5 additions and 1 deletions

View File

@ -560,7 +560,7 @@ body {
position: absolute;
width: 100%;
height: 100%;
top: -40px;
top: 0;
right: 0;
bottom: 0;
left: 0;
@ -624,6 +624,10 @@ body {
display: block;
}
.reveal.center .slides {
top: -40px;
}
.reveal.center .slides,
.reveal.center .slides section {
height: 100%;