fix z index

This commit is contained in:
evanpelle
2026-01-28 20:41:29 -08:00
parent bec5b5f976
commit 23f463f2ea
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -115,6 +115,7 @@ export function createCanvas(): HTMLCanvasElement {
canvas.style.width = "100%";
canvas.style.height = "100%";
canvas.style.touchAction = "none";
canvas.style.zIndex = "20";
return canvas;
}
+1 -1
View File
@@ -57,7 +57,7 @@ export class DesktopNavBar extends LitElement {
render() {
return html`
<nav
class="hidden lg:flex w-full bg-slate-950/70 backdrop-blur-md border-b border-white/10 items-center justify-center gap-8 py-4 shrink-0 transition-opacity z-50 relative"
class="hidden lg:flex w-full bg-slate-950/70 backdrop-blur-md border-b border-white/10 items-center justify-center gap-8 py-4 shrink-0 transition-opacity z-10 relative"
>
<div class="flex flex-col items-center justify-center">
<div class="h-8 text-[#2563eb]">
+1 -1
View File
@@ -80,7 +80,7 @@ export class NameLayer implements Layer {
this.container.style.left = "50%";
this.container.style.top = "50%";
this.container.style.pointerEvents = "none";
this.container.style.zIndex = "2";
this.container.style.zIndex = "30";
document.body.appendChild(this.container);
// Add CSS keyframes for traitor icon flashing animation