Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
Ads - Setting viewport margin for specific pagetype/screensizes
Browse files Browse the repository at this point in the history
 🐿 v2.5.16
  • Loading branch information
andrewgeorgiou1981 committed Sep 27, 2017
1 parent 2d9e186 commit 9cea797
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/n-ui/ads/js/oAdsConfig.js
Expand Up @@ -67,6 +67,7 @@ module.exports = function (flags, appName, adOptions) {
if (pt === 'stream'){
if (scrnSize < 760) {viewportMargin ='5%';}
else {viewportMargin = '15%';}
}
}
return viewportMargin;
}
Expand Down

0 comments on commit 9cea797

Please sign in to comment.