Skip to content

Commit

Permalink
rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkIntaqt committed Sep 22, 2024
1 parent 255a80d commit 1eba006
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/Challenge.js
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ class Challenge extends Component {

{challenge.challenge.translation.name !== "Loading" ?
<div style={{ float: "left", flexWrap: "wrap", margin: "5px 0", width: "100%", display: "flex", justifyContent: "center" }}>
<Ad id={3}></Ad>
<Ad id={0}></Ad>
</div> : null}

{/* FIX: Disabled since buggy */}
Expand Down
4 changes: 4 additions & 0 deletions src/module/Wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export default class Wrapper extends Component {
if (window.innerHeight < 600) {
adUnits = 2
}

if (window.innerHeight < 950) {
adUnits = 3
}
if (window.innerWidth < 1600) {
adUnits = 0
}
Expand Down

0 comments on commit 1eba006

Please sign in to comment.