Skip to content

Commit

Permalink
AD: make banner ad responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Starflinger committed Aug 7, 2020
1 parent 78b338c commit 07c1072
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions static/css/layout.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

/* Revive ad server responsive images */
ins[data-revive-zoneid] > a > img {
max-width: 100%;
height: auto;
}

main > div > .my-3 {
padding: 1rem 0;
}
Expand Down
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ <h5 class="text-center">{{.Subtitle}}</h5>

</div>
</div>
<div class="ad row my-3 justify-content-center">
<div class="ad d-flex my-3 justify-content-center pt-2">
<ins class="d-none d-md-block" data-revive-zoneid="5681" data-revive-id="727bec5e09208690b050ccfc6a45d384"></ins>
<ins class="d-md-none" data-revive-zoneid="5682" data-revive-id="727bec5e09208690b050ccfc6a45d384"></ins>
</div>
Expand Down

0 comments on commit 07c1072

Please sign in to comment.