hakimel / reveal.js

The HTML Presentation Framework
https://revealjs.com
MIT License
67.95k stars 16.65k forks source link

Reveal collapses to zero height unless it's in a container set with an absolute height #3719

Open deanebarker opened 3 days ago

deanebarker commented 3 days ago

If I do this:

<main>
  <div class="reveal">
    <!-- reveal stuff here -->
  </div>
</main>

The slides do not show, and layout inspector reveals (heh...) that div.reveal has a height of 0px.

If I do this --

<main style="height: 400px;">
  <div class="reveal">
    <!-- reveal stuff here -->
  </div>
</main>

-- it works fine.

psyko255 commented 2 days ago

Seeing this as well. Any workarounds?