diff options
author | Sam Potts <sam@potts.es> | 2018-03-10 23:32:15 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-10 23:32:15 +1100 |
commit | eebae4a227f2ac5e60716fe74ab3a934a792c38e (patch) | |
tree | 1fc758718f878cbbea3d8c76d3befdea3d812856 /src/sass | |
parent | 6f061621ad64eefd0e831b8e1372ca665a130d5c (diff) | |
parent | 6a2ca534d219233b20941bfc987f7a4a488502c7 (diff) | |
download | plyr-eebae4a227f2ac5e60716fe74ab3a934a792c38e.tar.lz plyr-eebae4a227f2ac5e60716fe74ab3a934a792c38e.tar.xz plyr-eebae4a227f2ac5e60716fe74ab3a934a792c38e.zip |
Merge pull request #802 from gehaktmolen/ad-hotfixes
Advertisement couldnt be loaded when creative dimensions do not align after resizing
Diffstat (limited to 'src/sass')
-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); |