aboutsummaryrefslogtreecommitdiffstats
path: root/src/sass/plugins/ads.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/sass/plugins/ads.scss')
-rw-r--r--src/sass/plugins/ads.scss10
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);