flash z index

This commit is contained in:
Graham McIntire 2025-06-21 22:22:21 -05:00
parent 1e22a54e47
commit 46d34a7c5e
No known key found for this signature in database

View file

@ -142,7 +142,7 @@ defmodule AprsWeb.CoreComponents do
phx-click={JS.push("lv:clear-flash", value: %{key: @kind}) |> hide("#flash")}
role="alert"
class={[
"fixed hidden top-2 right-2 w-80 sm:w-96 z-50 rounded-lg p-3 shadow-md shadow-zinc-900/5 ring-1",
"fixed hidden top-2 right-2 w-80 sm:w-96 z-[9999] rounded-lg p-3 shadow-md shadow-zinc-900/5 ring-1",
@kind == :info && "bg-emerald-50 text-emerald-800 ring-emerald-500 fill-cyan-900",
@kind == :error && "bg-rose-50 p-3 text-rose-900 shadow-md ring-rose-500 fill-rose-900"
]}