aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-05-09 09:44:36 +1000
committerGitHub <noreply@github.com>2018-05-09 09:44:36 +1000
commit83f80ccc40d671fc1c818992318821d3cec7287a (patch)
treefdf11daaf4dcf54b68f770b33499fe15e49fb9b6 /src
parentf687b81b70a73835f0190fbfa17a0fbbfcd28b7a (diff)
parent069065ea3a0becbe09c4f251ce2e44fefa6acacf (diff)
downloadplyr-83f80ccc40d671fc1c818992318821d3cec7287a.tar.lz
plyr-83f80ccc40d671fc1c818992318821d3cec7287a.tar.xz
plyr-83f80ccc40d671fc1c818992318821d3cec7287a.zip
Merge pull request #950 from friday/poster-fixes
Poster fixes
Diffstat (limited to 'src')
-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 {