Skip to content
Commit dfa98a11 authored by Dan Dascalescu's avatar Dan Dascalescu
Browse files

Document vertical centering breaking backcompat

Essentially, slides have variable height now. This is not normally visible, but with transitions that have a non-transparent background, like `cube` or `page`, it is:




http://lab.hakim.se/reveal-js/?transition=cube




Before, slides had a fixed height, which means that presentations designed with that assumption in mind will look very different now.




Another aspect that I bumped into is that I used the slide's height to dynamically size images to fill the remainder of the space from the heading to the footer, like this (stripped to the essence):




          bigImage.style.height = section.offsetHeight - bigImage.offsetTop + 'px';




Alternatively, is there an easy way to restore the previous functionality?
parent 4c893802
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment