Skip to content

Commit e501dc8

Browse files
committed
make sure agent is on top
1 parent f2051ec commit e501dc8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/agent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default class Agent {
4141
this._el = document.createElement("div");
4242
Object.assign(this._el.style, {
4343
position: "fixed",
44-
zIndex: "1000",
44+
zIndex: "10001",
4545
cursor: "pointer",
4646
display: "none",
4747
});

src/balloon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default class Balloon {
3737
this._balloon = document.createElement("div");
3838
Object.assign(this._balloon.style, {
3939
position: "fixed",
40-
zIndex: "1000",
40+
zIndex: "10001",
4141
cursor: "pointer",
4242
background: "#ffc",
4343
color: "black",

0 commit comments

Comments
 (0)