Skip to content

Commit 570c411

Browse files
committed
use w-auto for flash messages
1 parent f7ca12f commit 570c411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/algora_web/components/core_components.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ defmodule AlgoraWeb.CoreComponents do
567567
phx-click={JS.push("lv:clear-flash", value: %{key: @kind}) |> hide("##{@id}")}
568568
role="alert"
569569
class={[
570-
"fixed bottom-4 left-1/2 -translate-x-1/2 z-[1000] hidden w-80 rounded-lg p-3 shadow-md ring-1 sm:w-96",
570+
"fixed bottom-4 left-1/2 -translate-x-1/2 z-[1000] hidden w-80 rounded-lg p-3 shadow-md ring-1 sm:w-auto",
571571
@kind == :info &&
572572
"bg-emerald-950 fill-success-foreground text-success-foreground ring ring-success/70",
573573
@kind == :warning &&

0 commit comments

Comments
 (0)