-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reveal collapses to zero height unless it's in a container set with an absolute height #3719
Comments
Seeing this as well. Any workarounds? |
This is expected behavior. The div with class .reveal has height set to 100% but if the parent element does not have a height set it will collapse to 0 height. I have submitted a PR with a fix. |
This is expected. In a browser where the HTML page is the presentation (standard), the presentation will adjust to the browser window. And because the browser window has a height, the presentation has a height. When a presentation is shown inside another page, it is 'embedded' (set embedded: true in the config). It is up to the author of that outer page to define an area (just give it a width and height there) inside which that presentation is then shown. Reveal will fill that area with the presentation. It does not need the PR. |
@Martinomagnifico I disagree. The PR is one CSS rule that will simplify the need to explicitly set a height elsewhere. |
If I do this:
The slides do not show, and layout inspector reveals (heh...) that
div.reveal
has a height of 0px.If I do this --
-- it works fine.
The text was updated successfully, but these errors were encountered: