Browse Source

correct defaults for min-height, thanks @sebastianz #985

Hakim El Hattab 10 years ago
parent
commit
1f5369a43e
2 changed files with 6 additions and 6 deletions
  1. 3 3
      css/reveal.css
  2. 3 3
      css/reveal.scss

+ 3 - 3
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;

+ 3 - 3
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;