This commit is contained in:
		| @@ -1,4 +1,4 @@ | ||||
| <div class="mb-8 flex flex-col justify-center items-center space-y-4"> | ||||
| <div class="mx-auto mb-8 max-w-2xl flex flex-col justify-center items-center space-y-4"> | ||||
|   <h1 class="pb-4 title text-primary-600 text-xl"> | ||||
|     <%= gettext("Settings") %> | ||||
|   </h1> | ||||
| @@ -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 -> %> | ||||
|     <h3 class="title text-primary-600 text-lg col-span-3"> | ||||
| @@ -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 -> %> | ||||
|     <h3 class="title text-primary-600 text-lg col-span-3"> | ||||
| @@ -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 %> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user