diff options
author | Sam Potts <sam@potts.es> | 2018-05-09 09:48:52 +1000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2018-05-09 09:48:52 +1000 |
commit | d1d41ca49a98f8152eb8f0686f621f808e32cfc3 (patch) | |
tree | 053cdc9762d3c76ec986dda123ad1cc0d917751c /src | |
parent | c06e0ee5e94e01671d8e3a4e5eda69b880fa139b (diff) | |
parent | 83f80ccc40d671fc1c818992318821d3cec7287a (diff) | |
download | plyr-d1d41ca49a98f8152eb8f0686f621f808e32cfc3.tar.lz plyr-d1d41ca49a98f8152eb8f0686f621f808e32cfc3.tar.xz plyr-d1d41ca49a98f8152eb8f0686f621f808e32cfc3.zip |
Merge branch 'master' of github.com:sampotts/plyr
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 { |