diff options
Diffstat (limited to 'src/sass/components/poster.scss')
-rw-r--r-- | src/sass/components/poster.scss | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sass/components/poster.scss b/src/sass/components/poster.scss index b2518a78..9b239d4f 100644 --- a/src/sass/components/poster.scss +++ b/src/sass/components/poster.scss @@ -6,17 +6,17 @@ background-color: #000; background-position: 50% 50%; background-repeat: no-repeat; - background-size: 100% 100%; + background-size: contain; height: 100%; left: 0; opacity: 0; position: absolute; top: 0; - transition: opacity 0.3s ease; + transition: opacity 0.2s ease; width: 100%; z-index: 1; } -.plyr--stopped .plyr__poster { +.plyr--stopped.plyr__poster-enabled .plyr__poster { opacity: 1; } |