Skip to content

Commit

Permalink
Merge pull request #4 from datguysheepy/switch-to-css
Browse files Browse the repository at this point in the history
use !important in a .CSS to get it working for Chrome
  • Loading branch information
datguyducky authored Oct 5, 2020
2 parents 2f678ed + 17f68a0 commit 72acb7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"manifest_version": 2,
"version": "2.0",
"version": "2.0.1",

"name": "No awards for Reddit",
"description": "Hide awards on posts and comments for redesigned and also old Reddit.",
Expand Down
10 changes: 5 additions & 5 deletions no-awards.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
ONLY FOR NEW REDDIT
*/
._1wgnb6w6OJogtEV2N4B3lD {
display: none;
display: none !important;
}
/*
cross-posted posts have different div wrapper for the awards
this styling hides it completely - USED ON NEW REDDIT.COM
*/
._3XoW0oYd5806XiOr24gGdb {
display: none;
display: none !important;
}

/* wrapper div for awards used only on OLD.REDDIT.COM */
.awardings-bar {
display: none;
display: none !important;
}

/*
Expand All @@ -31,7 +31,7 @@
ONLY FOR NEW REDDIT
*/
._28x1bnTjOY6zWZfooCxkKQ {
display: none;
display: none !important;
}

/*
Expand All @@ -40,5 +40,5 @@
ONLY FOR NEW REDDIT
*/
.TmlaIdEplCzZ0F1aRGYQh {
background: inherit;
background: inherit !important;
}

0 comments on commit 72acb7e

Please sign in to comment.