diff --git a/lib/postland_web/live/profile_live.ex b/lib/postland_web/live/profile_live.ex index 76ae346..7458621 100644 --- a/lib/postland_web/live/profile_live.ex +++ b/lib/postland_web/live/profile_live.ex @@ -7,14 +7,25 @@ defmodule PostlandWeb.ProfileLive do def render(assigns) do ~H"""
-
+
+
+ <.icon name="hero-pencil" class="text-violet-100" /> +
<.form for={@form} phx-submit="avatar" phx-change="avatar"> - <.live_file_input :if={@editing} upload={@uploads.avatar} /> + <.live_file_input + :if={@editing} + id="avatar-upload" + class="opacity-0 absolute top-0 left-0 bottom-0 right-0" + upload={@uploads.avatar} + />