From c1d9d6d24bb755a06f793be121282e7f59542a5c Mon Sep 17 00:00:00 2001 From: hoothin Date: Thu, 17 Oct 2024 11:21:30 +0800 Subject: [PATCH] Update searchJumper.user.js --- searchJumper.user.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/searchJumper.user.js b/searchJumper.user.js index 74219768..ae976c3a 100644 --- a/searchJumper.user.js +++ b/searchJumper.user.js @@ -3048,6 +3048,7 @@ bottom: 2%; left: 50%; margin: 0 0 0 -25%; + margin-left: min(-25%, -250px); position: fixed; font-family: Arial, sans-serif; text-align: left; @@ -3312,6 +3313,7 @@ } .search-jumper-input { min-width: 300px; + margin-left: min(-25%, -150px); } .inputGroup>.svgBtns { width: 25px; @@ -7446,7 +7448,7 @@ }; let grabMousemoveHandler = e => { - let halfContainerWidth = 0.4 * window.innerWidth; + let halfContainerWidth = 0.25 * window.innerWidth; let left = startLeft + clientX(e) - startX; self.searchInputDiv.style.top = 'unset'; self.searchInputDiv.style.left = left + "px";