From 1f5369a43ec9d690298c633fcb6c0d595bb1ca04 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Thu, 16 Oct 2014 13:35:47 +0200 Subject: [PATCH] correct defaults for min-height, thanks @sebastianz #985 --- css/reveal.css | 6 +++--- css/reveal.scss | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/css/reveal.css b/css/reveal.css index ed380ab..50432e4 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -340,7 +340,7 @@ body { opacity: 1; } .reveal.center, .reveal.center .slides, .reveal.center .slides section { - min-height: auto !important; } + min-height: 0 !important; } /* Don't allow interaction with invisible slides */ .reveal .slides > section.future, .reveal .slides > section > section.future, .reveal .slides > section.past, .reveal .slides > section > section.past { @@ -464,7 +464,7 @@ body { box-sizing: border-box; } .reveal.center.cube .slides section { - min-height: auto; } + min-height: 0; } .reveal.cube .slides section:not(.stack):before { content: ''; @@ -714,7 +714,7 @@ body { opacity: 1 !important; position: relative !important; height: auto; - min-height: auto; + min-height: 0; top: 0; left: -50%; margin: 70px 0; diff --git a/css/reveal.scss b/css/reveal.scss index b07643b..7f07b46 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -423,7 +423,7 @@ body { .reveal.center, .reveal.center .slides, .reveal.center .slides section { - min-height: auto !important; + min-height: 0 !important; } /* Don't allow interaction with invisible slides */ @@ -584,7 +584,7 @@ body { box-sizing: border-box; } .reveal.center.cube .slides section { - min-height: auto; + min-height: 0; } .reveal.cube .slides section:not(.stack):before { content: ''; @@ -837,7 +837,7 @@ body { opacity: 1 !important; position: relative !important; height: auto; - min-height: auto; + min-height: 0; top: 0; left: -50%; margin: 70px 0;