Skip to content

Commit 2f6a6b4

Browse files
committed
fix z-index
1 parent f7d7bc6 commit 2f6a6b4

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

web/index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,15 @@
3939
top: 0;
4040
}
4141

42-
#nav-container:focus-within {
43-
z-index: 3;
42+
#nav-container {
43+
z-index: 1;
4444
}
4545

4646
#nav-content,
4747
#nav-container .bg,
48+
#nav-container:focus-within,
4849
#nav-container:focus-within #nav-button {
49-
z-index: 3;
50+
z-index: 1;
5051
}
5152

5253
/* canvas/dragdrop */
@@ -66,6 +67,7 @@
6667
box-shadow: 0px 0px 12px black, 0px 0px 18px black;
6768
position: relative;
6869
cursor: pointer;
70+
z-index: 0;
6971
}
7072

7173
#dragdrop.active,
@@ -424,4 +426,4 @@ <h4>Framerate</h4>
424426

425427
</body>
426428

427-
</html>
429+
</html>

0 commit comments

Comments
 (0)