Increase size of record form save button on mobile

This commit is contained in:
Claudio Ortolina
2025-05-09 09:13:50 +01:00
parent acbc0dc3e9
commit 774d78e9d8
@@ -125,7 +125,11 @@ defmodule MusicLibraryWeb.FormComponent do
</div>
</div>
<:actions>
<.button phx-disable-with={gettext("Saving...")}>{gettext("Save")}</.button>
<div class="w-full md:flex md:justify-center">
<.button class="w-full md:w-auto" phx-disable-with={gettext("Saving...")}>
{gettext("Save")}
</.button>
</div>
</:actions>
</.simple_form>
</div>