Skip to content

Commit

Permalink
fix container styles for collapsed ad
Browse files Browse the repository at this point in the history
  • Loading branch information
nechehin committed Oct 31, 2019
1 parent 3676164 commit cf2f082
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 49 deletions.
4 changes: 3 additions & 1 deletion vast-contentroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))};d.p
/*!
* VAST content-roll
*
* @version 0.0.10
* @version 0.0.11
* @link https://github.com/nechehin/vast-contentroll
*/
(function(){
Expand Down Expand Up @@ -281,6 +281,8 @@ this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))};d.p
return;
}

roll.style.position = 'relative';
roll.style.overflow = 'hidden';
roll.style.width = newWidth + 'px';
roll.style.height = newHeight + 'px';
roll.style.maxWidth = '100%';
Expand Down
Loading

0 comments on commit cf2f082

Please sign in to comment.