Skip to content

Commit

Permalink
Lower ad size
Browse files Browse the repository at this point in the history
  • Loading branch information
Vazkii committed Apr 9, 2023
1 parent afb1dfe commit f451515
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions quark2.css
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ a:not(.no-external)::after, .show-external::after {

.ad-container {
padding: 20px;
max-height: 200px;
}

.ad-container::before {
Expand Down
2 changes: 1 addition & 1 deletion quark2.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function updateLazyImages() {
function updateAds() {
$('.active-category .ad-needs-loading').each(function(e) {
var elm = $(this);
elm.html('<ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-8187973747660885" data-ad-slot="8779808804" data-ad-format="auto" data-full-width-responsive="true"></ins>');
elm.html('<ins class="adsbygoogle" style="display:inline-block;width:970px;height:90px" data-ad-client="ca-pub-8187973747660885" data-ad-slot="8779808804"></ins>');
(adsbygoogle = window.adsbygoogle || []).push({});
elm.removeClass('ad-needs-loading');
});
Expand Down

0 comments on commit f451515

Please sign in to comment.