Skip to content

Commit

Permalink
Merge pull request #13 from Ecalzo/overlay-css-fix
Browse files Browse the repository at this point in the history
fix: improve overlay positioning across all web pages
  • Loading branch information
Ecalzo authored Dec 18, 2020
2 parents 4e1ae16 + 76c1564 commit e25113d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

"name": "Skater",
"description": "Spotlight-like extension for Chrome bookmarks",
"version": "1.1.5",
"version": "1.1.6",
"icons": {
"16": "images/icon16.png",
"24": "images/icon24.png",
Expand Down Expand Up @@ -38,4 +38,4 @@
"description": "launch Skater"
}
}
}
}
2 changes: 1 addition & 1 deletion src/htmlUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function createOverlay() {

function createOverlayDiv () {
const overlayDiv = document.createElement('div');
overlayDiv.style = "position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(204, 204, 204, 0.3); z-index:2147483647;";
overlayDiv.style = "display:flex; align-item: center; justify-content: center;"
overlayDiv.id = "skater-overlay"
return overlayDiv
}
Expand Down
Loading

0 comments on commit e25113d

Please sign in to comment.