Skip to content

Commit

Permalink
Merge pull request steemit#3329 from steemit/b-fix-header
Browse files Browse the repository at this point in the history
Bug: Fix excessive header padding
  • Loading branch information
JonathanPorta authored May 9, 2019
2 parents 63093fa + 84a891f commit cbb9b80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/components/elements/BiddingAd.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class BiddingAd extends Component {
</div>
);
} else {
// TODO: One Day we will fall back to another ad type here.
console.log('NO AD TO SHOW!');
return null;
}
Expand Down
2 changes: 2 additions & 0 deletions src/server/server-html.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ export default function ServerHTML({
googletag.cmd.push(function() {
googletag.pubads().disableInitialLoad();
googletag.pubads().setTargeting("edition", ["new-york"]);
googletag.pubads().collapseEmptyDivs(true, true);
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
Expand Down

0 comments on commit cbb9b80

Please sign in to comment.