Skip to content
Snippets Groups Projects
  1. Nov 13, 2012
    • Dan Dascalescu's avatar
      Document vertical centering breaking backcompat · dfa98a11
      Dan Dascalescu authored
      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?
      dfa98a11
  2. Nov 12, 2012
  3. Nov 11, 2012
  4. Nov 10, 2012
  5. Oct 31, 2012
  6. Oct 30, 2012
  7. Oct 29, 2012
  8. Oct 28, 2012
Loading