Fix dropdown menu position to appear below button

This commit is contained in:
Graham McIntire 2026-01-03 12:18:56 -06:00
parent 424b82ca4c
commit d283f4ac6c
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 z-50 dark:bg-zinc-800 dark:ring-zinc-700"
class="hidden absolute top-full 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">