Skip to content

Commit

Permalink
1.4.1 fix night shadow when not centered
Browse files Browse the repository at this point in the history
  • Loading branch information
tophf committed Jun 25, 2024
1 parent d0af2d3 commit 0f66486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
// @grant GM.setValue
// @grant GM.xmlHttpRequest
//
// @version 1.4.0
// @version 1.4.1
// @author tophf
//
// @original-version 2017.9.29
Expand Down Expand Up @@ -4034,7 +4034,7 @@ ${App.popupStyleBase = `
image-rendering: pixelated;
}
#\mpiv-popup.\mpiv-night:not(#\\0) {
box-shadow: 0 0 0 ${Math.max(screen.width, screen.height) / 2}px #000;
box-shadow: 0 0 0 ${Math.max(screen.width, screen.height)}px #000;
}
body:has(#\mpiv-popup.\mpiv-night)::-webkit-scrollbar {
background: #000;
Expand Down

0 comments on commit 0f66486

Please sign in to comment.