Add z-index to dropdown menu to appear above page content

This commit is contained in:
Graham McIntire 2026-01-03 12:18:03 -06:00
parent 7e6c190904
commit 424b82ca4c
No known key found for this signature in database

View file

@ -105,7 +105,7 @@ defmodule ToweropsWeb.Layouts do
<div
id="org-menu"
class="hidden absolute right-0 mt-2 w-48 origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-zinc-800 dark:ring-zinc-700"
class="hidden absolute right-0 mt-2 w-48 origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 z-50 dark:bg-zinc-800 dark:ring-zinc-700"
phx-click-away={JS.hide(to: "#org-menu")}
>
<div class="py-1">