Skip to content

Commit

Permalink
Website height fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssaxuu committed Nov 27, 2020
1 parent 8598dad commit 91ebcd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion js/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,9 @@ $(document).ready(function(){
const resizeObserver = new ResizeObserver(entries => {
onResize();
});
document.body.style.height = "unset";
if (window.location.href.includes("twitter.com") || window.location.href.includes("facebook.com") || window.location.href.includes("pinterest.com") || window.location.href.includes("reddit.com")) {
document.body.style.height = "unset";
}
resizeObserver.observe(document.body);

// Show click highlight
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "__MSG_extName__",
"description": "__MSG_extDesc__",
"offline_enabled": true,
"version": "2.3.2",
"version": "2.3.3",
"manifest_version": 2,
"default_locale": "en",
"background": {
Expand Down

0 comments on commit 91ebcd3

Please sign in to comment.