Skip to content

Commit

Permalink
Update searchJumper.user.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hoothin committed Oct 17, 2024
1 parent 5250896 commit c1d9d6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion searchJumper.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -3312,6 +3313,7 @@
}
.search-jumper-input {
min-width: 300px;
margin-left: min(-25%, -150px);
}
.inputGroup>.svgBtns {
width: 25px;
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit c1d9d6d

Please sign in to comment.