From 0dfc74f02c88cd817e4a29faf982b4a9812b0b87 Mon Sep 17 00:00:00 2001 From: mindxploit Date: Thu, 31 Oct 2024 22:27:14 +0100 Subject: [PATCH] z-indexes for pixel quote and boss info --- app/src/providers/PlayerProvider.tsx | 2 +- app/src/styles/Army.module.css | 1 + app/src/styles/Info.module.css | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/providers/PlayerProvider.tsx b/app/src/providers/PlayerProvider.tsx index 9606350..24cb2df 100644 --- a/app/src/providers/PlayerProvider.tsx +++ b/app/src/providers/PlayerProvider.tsx @@ -152,7 +152,7 @@ const PlayerProvider = ({ children }: { children: ReactNode }) => { abi, address: contractAddress, functionName: "register_eth", - value: parseEther("0.0005"), + value: parseEther("0.00005"), }, { onSuccess: (hash) => { diff --git a/app/src/styles/Army.module.css b/app/src/styles/Army.module.css index bfa2d9d..bc8e406 100644 --- a/app/src/styles/Army.module.css +++ b/app/src/styles/Army.module.css @@ -215,6 +215,7 @@ height: 90px; user-select: none; .pixelQuote { + z-index: 20; min-width: 200px; width: fit-content; max-width: 300px; diff --git a/app/src/styles/Info.module.css b/app/src/styles/Info.module.css index 39ab2b2..440b4de 100644 --- a/app/src/styles/Info.module.css +++ b/app/src/styles/Info.module.css @@ -1,5 +1,6 @@ .bossInfo { position: absolute; + z-index: 10; top: 350px; right: 28px; background: var(--bg-color);