aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--css/reveal.css5
-rw-r--r--css/reveal.scss10
2 files changed, 14 insertions, 1 deletions
diff --git a/css/reveal.css b/css/reveal.css
index c879c03..dbabfcb 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -1001,6 +1001,8 @@ body {
perspective-origin: 50% 50%;
-webkit-perspective: 700px;
perspective: 700px; }
+ .reveal.overview .slides {
+ -moz-transform-style: preserve-3d; }
.reveal.overview .slides section {
height: 100%;
top: 0 !important;
@@ -1028,7 +1030,8 @@ body {
overflow: visible; }
.reveal.overview .backgrounds {
-webkit-perspective: inherit;
- perspective: inherit; }
+ perspective: inherit;
+ -moz-transform-style: preserve-3d; }
.reveal.overview .backgrounds .slide-background {
opacity: 1;
visibility: visible;
diff --git a/css/reveal.scss b/css/reveal.scss
index c5ff05a..f6a37ad 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -1028,6 +1028,12 @@ body {
perspective-origin: 50% 50%;
perspective: 700px;
+ .slides {
+ // Fixes overview rendering errors in FF48+, not applied to
+ // other browsers since it degrades performance
+ -moz-transform-style: preserve-3d;
+ }
+
.slides section {
height: 100%;
top: 0 !important;
@@ -1060,6 +1066,10 @@ body {
.backgrounds {
perspective: inherit;
+
+ // Fixes overview rendering errors in FF48+, not applied to
+ // other browsers since it degrades performance
+ -moz-transform-style: preserve-3d;
}
.backgrounds .slide-background {