add z-index to menu item hover frame to show it always on top
This commit is contained in:
parent
198e171838
commit
3205bb6dc1
@ -127,7 +127,7 @@
|
|||||||
<img class="w-1/2 h-1/2 pixelated" src={navPath.sprite} alt={navPath.name} />
|
<img class="w-1/2 h-1/2 pixelated" src={navPath.sprite} alt={navPath.name} />
|
||||||
</div>
|
</div>
|
||||||
<img
|
<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}
|
class:opacity-0={!navPath.active}
|
||||||
src="{env.PUBLIC_BASE_PATH}/img/selected-frame.png"
|
src="{env.PUBLIC_BASE_PATH}/img/selected-frame.png"
|
||||||
alt="menu hover"
|
alt="menu hover"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user