diff options
author | Sam Potts <sam@potts.es> | 2018-05-09 09:44:36 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-09 09:44:36 +1000 |
commit | 83f80ccc40d671fc1c818992318821d3cec7287a (patch) | |
tree | fdf11daaf4dcf54b68f770b33499fe15e49fb9b6 /src | |
parent | f687b81b70a73835f0190fbfa17a0fbbfcd28b7a (diff) | |
parent | 069065ea3a0becbe09c4f251ce2e44fefa6acacf (diff) | |
download | plyr-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.scss | 3 |
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 { |