diff --git a/lib/cannery_web/components/add_shot_group_component.html.heex b/lib/cannery_web/components/add_shot_group_component.html.heex index 33c5397d..ec749558 100644 --- a/lib/cannery_web/components/add_shot_group_component.html.heex +++ b/lib/cannery_web/components/add_shot_group_component.html.heex @@ -1,5 +1,5 @@
-

+

<%= gettext("Record shots") %>

@@ -7,7 +7,7 @@ let={f} for={@changeset} id="shot-group-form" - class="flex flex-col sm:grid sm:grid-cols-3 justify-center items-center space-y-4" + class="flex flex-col sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" phx-target={@myself} phx-change="validate" phx-submit="save" diff --git a/lib/cannery_web/components/move_ammo_group_component.html.heex b/lib/cannery_web/components/move_ammo_group_component.html.heex index 274096c9..574b9ad3 100644 --- a/lib/cannery_web/components/move_ammo_group_component.html.heex +++ b/lib/cannery_web/components/move_ammo_group_component.html.heex @@ -1,5 +1,5 @@
-

+

<%= gettext("Move ammo") %>

diff --git a/lib/cannery_web/live/ammo_group_live/form_component.html.heex b/lib/cannery_web/live/ammo_group_live/form_component.html.heex index a13c2bb6..031e3815 100644 --- a/lib/cannery_web/live/ammo_group_live/form_component.html.heex +++ b/lib/cannery_web/live/ammo_group_live/form_component.html.heex @@ -1,5 +1,5 @@
-

+

<%= @title %>

@@ -10,7 +10,7 @@ phx-target={@myself} phx-change="validate" phx-submit="save" - class="flex flex-col sm:grid sm:grid-cols-3 justify-center items-center space-y-4" + class="flex flex-col sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" > <%= if @changeset.action && not @changeset.valid? do %>
diff --git a/lib/cannery_web/live/ammo_type_live/form_component.html.heex b/lib/cannery_web/live/ammo_type_live/form_component.html.heex index 4c00e8b7..16ddd200 100644 --- a/lib/cannery_web/live/ammo_type_live/form_component.html.heex +++ b/lib/cannery_web/live/ammo_type_live/form_component.html.heex @@ -1,5 +1,5 @@
-

+

<%= @title %>

<.form @@ -9,7 +9,7 @@ phx-target={@myself} phx-change="validate" phx-submit="save" - class="flex flex-col sm:grid sm:grid-cols-3 justify-center items-center space-y-4" + class="flex flex-col sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" > <%= if @changeset.action && not @changeset.valid? do %>
diff --git a/lib/cannery_web/live/container_live/add_tag_component.html.heex b/lib/cannery_web/live/container_live/add_tag_component.html.heex index 30a5f28c..1eb27b4e 100644 --- a/lib/cannery_web/live/container_live/add_tag_component.html.heex +++ b/lib/cannery_web/live/container_live/add_tag_component.html.heex @@ -1,5 +1,5 @@
-

+

<%= @title %>

@@ -7,7 +7,7 @@ let={f} for={:tag} id="add-tag-to-container-form" - class="flex flex-col sm:grid sm:grid-cols-3 justify-center items-center space-x-2" + class="flex flex-col sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" phx-target={@myself} phx-submit="save" > diff --git a/lib/cannery_web/live/container_live/form_component.html.heex b/lib/cannery_web/live/container_live/form_component.html.heex index 9b539ddd..a6ac5a07 100644 --- a/lib/cannery_web/live/container_live/form_component.html.heex +++ b/lib/cannery_web/live/container_live/form_component.html.heex @@ -1,12 +1,12 @@
-

+

<%= @title %>

<.form let={f} for={@changeset} id="container-form" - class="flex flex-col sm:grid sm:grid-cols-3 justify-center items-center space-y-4" + class="flex flex-col sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" phx-target={@myself} phx-change="validate" phx-submit="save" diff --git a/lib/cannery_web/live/invite_live/form_component.html.heex b/lib/cannery_web/live/invite_live/form_component.html.heex index b09198fa..bd5c9a38 100644 --- a/lib/cannery_web/live/invite_live/form_component.html.heex +++ b/lib/cannery_web/live/invite_live/form_component.html.heex @@ -1,12 +1,12 @@
-

+

<%= @title %>

<.form let={f} for={@changeset} id="invite-form" - class="flex flex-col sm:grid sm:grid-cols-3 justify-center items-center space-y-4" + class="flex flex-col sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" phx-target={@myself} phx-change="validate" phx-submit="save" diff --git a/lib/cannery_web/live/range_live/form_component.html.heex b/lib/cannery_web/live/range_live/form_component.html.heex index faa29182..d8656225 100644 --- a/lib/cannery_web/live/range_live/form_component.html.heex +++ b/lib/cannery_web/live/range_live/form_component.html.heex @@ -1,5 +1,5 @@
-

+

<%= @title %>

@@ -7,7 +7,7 @@ let={f} for={@changeset} id="shot-group-form" - class="flex flex-col sm:grid sm:grid-cols-3 justify-center items-center space-y-4" + class="flex flex-col sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" phx-target={@myself} phx-change="validate" phx-submit="save" diff --git a/lib/cannery_web/live/tag_live/form_component.ex b/lib/cannery_web/live/tag_live/form_component.ex index 42bb1652..7aec53a6 100644 --- a/lib/cannery_web/live/tag_live/form_component.ex +++ b/lib/cannery_web/live/tag_live/form_component.ex @@ -29,14 +29,14 @@ defmodule CanneryWeb.TagLive.FormComponent do def render(assigns) do ~H"""
-

+

<%= @title %>

<.form let={f} for={@changeset} id="tag-form" - class="flex flex-col sm:grid sm:grid-cols-3 justify-center items-center space-y-4" + class="flex flex-col sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" phx-target={@myself} phx-change="validate" phx-submit="save" diff --git a/lib/cannery_web/templates/user_confirmation/new.html.heex b/lib/cannery_web/templates/user_confirmation/new.html.heex index 61ead06f..2c0b22ef 100644 --- a/lib/cannery_web/templates/user_confirmation/new.html.heex +++ b/lib/cannery_web/templates/user_confirmation/new.html.heex @@ -1,4 +1,4 @@ -
+

<%= dgettext("actions", "Resend confirmation instructions") %>

@@ -7,15 +7,14 @@ Routes.user_confirmation_path(@conn, :create), [ class: - "flex flex-col sm:grid sm:grid-cols-3" <> - "justify-center items-center text-center space-y-4" + "flex flex-col sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" ], fn f -> %> <%= label(f, :email, class: "title text-lg text-primary-600") %> <%= email_input(f, :email, required: true, class: "input input-primary col-span-2") %> <%= submit(dgettext("actions", "Resend confirmation instructions"), - class: "mx-auto my-4 btn btn-primary col-span-3" + class: "mx-auto btn btn-primary col-span-3" ) %> <% end %> diff --git a/lib/cannery_web/templates/user_registration/new.html.heex b/lib/cannery_web/templates/user_registration/new.html.heex index ed213e81..08d15258 100644 --- a/lib/cannery_web/templates/user_registration/new.html.heex +++ b/lib/cannery_web/templates/user_registration/new.html.heex @@ -1,4 +1,4 @@ -
+

<%= dgettext("actions", "Register") %>

@@ -7,8 +7,7 @@ Routes.user_registration_path(@conn, :create), [ class: - "flex flex-col sm:grid sm:grid-cols-3" <> - "justify-center items-center text-center space-y-4" + "flex flex-col sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" ], fn f -> %> <%= if @changeset.action && not @changeset.valid? do %> @@ -31,7 +30,7 @@ <%= password_input(f, :password, required: true, class: "input input-primary col-span-2") %> <%= error_tag(f, :password, "col-span-3") %> - <%= submit(dgettext("actions", "Register"), class: "mx-auto my-4 btn btn-primary col-span-3") %> + <%= submit(dgettext("actions", "Register"), class: "mx-auto btn btn-primary col-span-3") %> <% end %>
diff --git a/lib/cannery_web/templates/user_reset_password/edit.html.heex b/lib/cannery_web/templates/user_reset_password/edit.html.heex index f6f64b40..32374f4a 100644 --- a/lib/cannery_web/templates/user_reset_password/edit.html.heex +++ b/lib/cannery_web/templates/user_reset_password/edit.html.heex @@ -1,4 +1,4 @@ -
+

<%= dgettext("actions", "Reset password") %>

@@ -7,8 +7,7 @@ Routes.user_reset_password_path(@conn, :update, @token), [ class: - "flex flex-col sm:grid sm:grid-cols-3" <> - "justify-center items-center text-center space-y-4" + "flex flex-col sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" ], fn f -> %> <%= if @changeset.action && not @changeset.valid? do %> @@ -33,7 +32,7 @@ <%= error_tag(f, :password_confirmation, "col-span-3") %> <%= submit(dgettext("actions", "Reset password"), - class: "mx-auto my-4 btn btn-primary col-span-3" + class: "mx-auto btn btn-primary col-span-3" ) %> <% end %> diff --git a/lib/cannery_web/templates/user_reset_password/new.html.heex b/lib/cannery_web/templates/user_reset_password/new.html.heex index f83c0a36..a9f1509b 100644 --- a/lib/cannery_web/templates/user_reset_password/new.html.heex +++ b/lib/cannery_web/templates/user_reset_password/new.html.heex @@ -1,4 +1,4 @@ -
+

<%= dgettext("actions", "Forgot your password?") %>

@@ -7,15 +7,14 @@ Routes.user_reset_password_path(@conn, :create), [ class: - "flex flex-col sm:grid sm:grid-cols-3" <> - "justify-center items-center text-center space-y-4" + "flex flex-col sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" ], fn f -> %> <%= label(f, :email, class: "title text-lg text-primary-600") %> <%= email_input(f, :email, required: true, class: "input input-primary col-span-2") %> <%= submit(dgettext("actions", "Send instructions to reset password"), - class: "mx-auto my-4 btn btn-primary col-span-3" + class: "mx-auto btn btn-primary col-span-3" ) %> <% end %> diff --git a/lib/cannery_web/templates/user_session/new.html.heex b/lib/cannery_web/templates/user_session/new.html.heex index a1751a96..b3623676 100644 --- a/lib/cannery_web/templates/user_session/new.html.heex +++ b/lib/cannery_web/templates/user_session/new.html.heex @@ -1,4 +1,4 @@ -
+

<%= dgettext("actions", "Log in") %>

@@ -8,8 +8,7 @@ [ as: :user, class: - "flex flex-col sm:grid sm:grid-cols-3" <> - "justify-center items-center text-center space-y-4" + "flex flex-col sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" ], fn f -> %> <%= if @error_message do %> @@ -31,7 +30,7 @@ ) %> <%= checkbox(f, :remember_me, class: "checkbox col-span-2") %> - <%= submit(dgettext("actions", "Log in"), class: "mx-auto my-4 btn btn-primary col-span-3") %> + <%= submit(dgettext("actions", "Log in"), class: "mx-auto btn btn-primary col-span-3") %> <% end %>
diff --git a/lib/cannery_web/templates/user_settings/edit.html.heex b/lib/cannery_web/templates/user_settings/edit.html.heex index abe7954d..749c8258 100644 --- a/lib/cannery_web/templates/user_settings/edit.html.heex +++ b/lib/cannery_web/templates/user_settings/edit.html.heex @@ -1,4 +1,4 @@ -
+

<%= gettext("Settings") %>

@@ -9,8 +9,7 @@ Routes.user_settings_path(@conn, :update), [ class: - "pb-4 flex flex-col sm:grid sm:grid-cols-3" <> - "justify-center items-center text-center space-y-4" + "pb-4 text-center flex flex-col sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" ], fn f -> %>

@@ -44,7 +43,7 @@ <%= error_tag(f, :current_password, "col-span-3") %> <%= submit(dgettext("actions", "Change email"), - class: "mx-auto my-4 btn btn-primary col-span-3" + class: "mx-auto btn btn-primary col-span-3" ) %> <% end %> @@ -54,7 +53,7 @@ Routes.user_settings_path(@conn, :update), [ class: - "pb-4 flex flex-col sm:grid sm:grid-cols-3 justify-center items-center text-center space-y-4" + "pb-4 text-center flex flex-col sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" ], fn f -> %>

@@ -100,7 +99,7 @@ <%= error_tag(f, :current_password, "col-span-3") %> <%= submit(dgettext("actions", "Change password"), - class: "mx-auto my-4 btn btn-primary col-span-3" + class: "mx-auto btn btn-primary col-span-3" ) %> <% end %>