aboutsummaryrefslogtreecommitdiffhomepage
path: root/css/reveal.scss
diff options
context:
space:
mode:
Diffstat (limited to 'css/reveal.scss')
-rw-r--r--css/reveal.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/css/reveal.scss b/css/reveal.scss
index 22fb3fe..68ff56f 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -898,7 +898,11 @@ body {
max-height: none;
top: 0;
left: 0;
+ object-fit: cover;
}
+ .reveal .slide-background[data-background-size="contain"] video {
+ object-fit: contain;
+ }
/* Immediate transition style */
.reveal[data-background-transition=none]>.backgrounds .slide-background,