From 2d29a64325fded1b7f0b17d632f7f697994554a6 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Thu, 30 Jun 2016 05:52:48 +0200 Subject: [PATCH] [fix] take full size of the underlying picture for video --- prosopopee/themes/exposure/static/css/style-page.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prosopopee/themes/exposure/static/css/style-page.css b/prosopopee/themes/exposure/static/css/style-page.css index 0c2888a..1034612 100644 --- a/prosopopee/themes/exposure/static/css/style-page.css +++ b/prosopopee/themes/exposure/static/css/style-page.css @@ -350,7 +350,7 @@ a.google { left: 0; z-index: 0; width: 100%; - height: auto; + height: 100%; } .full-picture video { @@ -358,6 +358,7 @@ a.google { min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -100; background-size: cover; + object-fit: fill; } .bordered-picture video {