diff options
author | Sam Potts <sam@potts.es> | 2018-03-10 23:32:55 +1100 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2018-03-10 23:32:55 +1100 |
commit | c734bc4957d217979931388b0946b2f78157402e (patch) | |
tree | e88e38b33185bdbe6065675930a54c56e07d9ff3 /src/sass/plugins/ads.scss | |
parent | 572b8a7aca6c4b4fea1a7f7d371915cbe151be3d (diff) | |
parent | eebae4a227f2ac5e60716fe74ab3a934a792c38e (diff) | |
download | plyr-c734bc4957d217979931388b0946b2f78157402e.tar.lz plyr-c734bc4957d217979931388b0946b2f78157402e.tar.xz plyr-c734bc4957d217979931388b0946b2f78157402e.zip |
Merge branch 'beta' of github.com:sampotts/plyr into beta
Diffstat (limited to 'src/sass/plugins/ads.scss')
-rw-r--r-- | src/sass/plugins/ads.scss | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/sass/plugins/ads.scss b/src/sass/plugins/ads.scss index 21a28e02..89330611 100644 --- a/src/sass/plugins/ads.scss +++ b/src/sass/plugins/ads.scss @@ -9,7 +9,15 @@ position: absolute; right: 0; top: 0; - z-index: 3; // Above the controls + z-index: -1; // Hide it. + + // Make sure the inner container is big enough for the ad creative. + > div, + > div iframe { + position: absolute; + width: 100%; + height: 100%; + } &::after { background: rgba($plyr-color-gunmetal, 0.8); |