Skip to content

Commit f5f27bc

Browse files
committed
fix: element highlighting overlapping image gallery
1 parent a63ca5c commit f5f27bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ function RemoteFunctions(config = {}) {
853853
let arrow = window.document.createElement("div");
854854
arrow.className = DROP_MARKER_ARROW_CLASSNAME;
855855
arrow.style.position = "fixed";
856-
arrow.style.zIndex = "2147483648";
856+
arrow.style.zIndex = "2147483647";
857857
arrow.style.pointerEvents = "none";
858858
arrow.style.fontWeight = "bold";
859859
arrow.style.color = "#4285F4";
@@ -1511,7 +1511,7 @@ function RemoteFunctions(config = {}) {
15111511
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
15121512
font-size: 12px !important;
15131513
font-family: Arial, sans-serif !important;
1514-
z-index: 2147483647 !important;
1514+
z-index: 2147483646 !important;
15151515
position: absolute !important;
15161516
left: -1000px;
15171517
top: -1000px;
@@ -1783,7 +1783,7 @@ function RemoteFunctions(config = {}) {
17831783
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
17841784
font-size: 12px !important;
17851785
font-family: Arial, sans-serif !important;
1786-
z-index: 2147483647 !important;
1786+
z-index: 2147483646 !important;
17871787
position: absolute !important;
17881788
left: ${leftPos}px;
17891789
top: -1000px;
@@ -3515,7 +3515,7 @@ function RemoteFunctions(config = {}) {
35153515
"top": offset.top + "px",
35163516
"width": elementBounds.width + "px",
35173517
"height": elementBounds.height + "px",
3518-
"z-index": 2147483647,
3518+
"z-index": 2147483646,
35193519
"margin": 0,
35203520
"padding": 0,
35213521
"position": "absolute",

0 commit comments

Comments
 (0)