Skip to content

Commit

Permalink
enhance(ad-free): hide all banners completely (#11787)
Browse files Browse the repository at this point in the history
When paying MDN Plus subscribers enable the "Ad-free experience", we now
hide all banners completely, rather than displaying empty sections.
  • Loading branch information
caugner authored Sep 10, 2024
1 parent 2294df0 commit f93b850
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/src/ui/organisms/placement/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,10 @@ section.place {
width: initial;
}
}

html[data-nop] & {
display: none;
}
}

.dark section.place .pong-box2 {
Expand Down

0 comments on commit f93b850

Please sign in to comment.