add z-index to menu item hover frame to show it always on top

This commit is contained in:
bytedream 2023-08-26 11:59:28 +02:00
parent 198e171838
commit 3205bb6dc1

@ -127,7 +127,7 @@
<img class="w-1/2 h-1/2 pixelated" src={navPath.sprite} alt={navPath.name} />
</div>
<img
class="transition-opacity delay-50 group-hover/menu-item:opacity-100 absolute w-full h-full pixelated scale-110"
class="transition-opacity delay-50 group-hover/menu-item:opacity-100 absolute w-full h-full pixelated scale-110 z-10"
class:opacity-0={!navPath.active}
src="{env.PUBLIC_BASE_PATH}/img/selected-frame.png"
alt="menu hover"