Skip to content

Commit

Permalink
fix(Ads): Fix bad static overlay ad position (#7735)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad authored Dec 10, 2024
1 parent 27976f1 commit e4825c3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/ads/interstitial_ad_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,6 @@ shaka.ads.InterstitialAdManager = class {
htmlElement.style.left = (topLeft.x / viewport.x * 100) + '%';
htmlElement.style.top = (topLeft.y / viewport.y * 100) + '%';
htmlElement.style.width = (size.x / viewport.x * 100) + '%';
htmlElement.style.height = 'auto';
}
this.adContainer_.appendChild(htmlElement);

Expand Down

0 comments on commit e4825c3

Please sign in to comment.