style changes

This commit is contained in:
2024-03-26 17:48:37 +01:00
parent c2465d59e5
commit 5bc3d24405
4 changed files with 13 additions and 10 deletions

View File

@ -200,7 +200,7 @@ defmodule SomethingErlangWeb.CoreComponents do
def simple_form(assigns) do
~H"""
<.form :let={f} for={@for} as={@as} {@rest}>
<div class="space-y-8 bg-white mt-10">
<div class="space-y-8 mt-10">
<%= render_slot(@inner_block, f) %>
<div :for={action <- @actions} class="mt-2 flex items-center justify-between gap-6">
<%= render_slot(action, f) %>
@ -229,7 +229,7 @@ defmodule SomethingErlangWeb.CoreComponents do
<button
type={@type}
class={[
"phx-submit-loading:opacity-75 rounded-lg bg-zinc-900 hover:bg-zinc-700 py-2 px-3",
"phx-submit-loading:opacity-75 rounded-lg bg-red-900 hover:bg-red-700 py-2 px-3",
"text-sm font-semibold leading-6 text-white active:text-white/80",
@class
]}