Skip to content

Commit 21c77f6

Browse files
authored
#4056 correcting highlight problem near nav-bar (#4057)
1 parent e5f1dd1 commit 21c77f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/activity.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6141,13 +6141,13 @@ class Activity {
61416141
let width = Math.abs(this.currentX - this.startX);
61426142
let height = Math.abs(this.currentY - this.startY);
61436143

6144-
this.selectionArea.style.display = "block";
6145-
this.selectionArea.style.position = "absolute";
6144+
this.selectionArea.style.display = "flex";
6145+
this.selectionArea.style.position = "relative";
61466146
this.selectionArea.style.left = x + "px";
61476147
this.selectionArea.style.top = y + "px";
61486148
this.selectionArea.style.height = height + "px";
61496149
this.selectionArea.style.width = width + "px";
6150-
this.selectionArea.style.zIndex = "9999";
6150+
this.selectionArea.style.zIndex = "9989";
61516151
this.selectionArea.style.backgroundColor = "rgba(137, 207, 240, 0.5)";
61526152
this.selectionArea.style.pointerEvents = "none";
61536153

0 commit comments

Comments
 (0)