Fixed z-index issues when stopping hovering on .can

This commit is contained in:
thepaperpilot 2022-03-13 18:34:47 -05:00
parent acc9622d49
commit 77a3d92075

View file

@ -7,6 +7,8 @@
margin: var(--feature-margin); margin: var(--feature-margin);
box-sizing: border-box; box-sizing: border-box;
color: var(--feature-foreground); color: var(--feature-foreground);
z-index: 0;
transition: all 0.5s, z-index 0s 0.5s;
} }
.can, .can,
@ -20,6 +22,7 @@
transform: scale(1.15, 1.15); transform: scale(1.15, 1.15);
box-shadow: 0 0 20px var(--points); box-shadow: 0 0 20px var(--points);
z-index: 1; z-index: 1;
transition: all 0.5s, z-index 0s;
} }
.locked, .locked,