aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-05-09 09:48:52 +1000
committerSam Potts <sam@potts.es>2018-05-09 09:48:52 +1000
commitd1d41ca49a98f8152eb8f0686f621f808e32cfc3 (patch)
tree053cdc9762d3c76ec986dda123ad1cc0d917751c
parentc06e0ee5e94e01671d8e3a4e5eda69b880fa139b (diff)
parent83f80ccc40d671fc1c818992318821d3cec7287a (diff)
downloadplyr-d1d41ca49a98f8152eb8f0686f621f808e32cfc3.tar.lz
plyr-d1d41ca49a98f8152eb8f0686f621f808e32cfc3.tar.xz
plyr-d1d41ca49a98f8152eb8f0686f621f808e32cfc3.zip
Merge branch 'master' of github.com:sampotts/plyr
-rw-r--r--src/sass/components/poster.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sass/components/poster.scss b/src/sass/components/poster.scss
index b2518a78..92ab0fce 100644
--- a/src/sass/components/poster.scss
+++ b/src/sass/components/poster.scss
@@ -6,7 +6,7 @@
background-color: #000;
background-position: 50% 50%;
background-repeat: no-repeat;
- background-size: 100% 100%;
+ background-size: contain;
height: 100%;
left: 0;
opacity: 0;
@@ -15,6 +15,7 @@
transition: opacity 0.3s ease;
width: 100%;
z-index: 1;
+ pointer-events: none;
}
.plyr--stopped .plyr__poster {