flash z index
This commit is contained in:
parent
1e22a54e47
commit
46d34a7c5e
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
]}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue