Skip to content

Commit b15808b

Browse files
committed
lower Drawer z-index; it was hiding flash messages
1 parent 5963692 commit b15808b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/algora_web/components/ui/drawer.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ defmodule AlgoraWeb.Components.UI.Drawer do
3232
<div
3333
class={
3434
classes([
35-
"fixed inset-0 z-50 bg-black/90 transition-all duration-300",
35+
"fixed inset-0 z-10 bg-black/90 transition-all duration-300",
3636
"#{if @show, do: "opacity-100", else: "pointer-events-none opacity-0"}"
3737
])
3838
}
@@ -42,7 +42,7 @@ defmodule AlgoraWeb.Components.UI.Drawer do
4242
<div
4343
class={
4444
classes([
45-
"fixed z-50 transform border bg-background transition-transform duration-300 ease-in-out",
45+
"fixed z-10 transform border bg-background transition-transform duration-300 ease-in-out",
4646
case @direction do
4747
"bottom" -> "inset-x-0 bottom-0 rounded-t-xl"
4848
"right" -> "inset-y-0 right-0 h-full max-w-lg w-full"
@@ -60,7 +60,7 @@ defmodule AlgoraWeb.Components.UI.Drawer do
6060
<button
6161
phx-click={@on_cancel}
6262
type="button"
63-
class="absolute top-4 right-4 z-50 flex h-10 w-10 items-center justify-center text-muted-foreground hover:text-foreground"
63+
class="absolute top-4 right-4 z-10 flex h-10 w-10 items-center justify-center text-muted-foreground hover:text-foreground"
6464
>
6565
<AlgoraWeb.CoreComponents.icon name="tabler-x" class="h-5 w-5" />
6666
</button>

0 commit comments

Comments
 (0)