<%= 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 %>