fix forms

This commit is contained in:
Inhji 2023-04-02 23:55:43 +02:00
parent 64cc1a7e55
commit 4c68d4be5c

View file

@ -249,7 +249,7 @@ defmodule ChiyaWeb.CoreComponents do
def simple_form(assigns) do
~H"""
<.form :let={f} for={@for} as={@as} {@rest}>
<div class="space-y-8 bg-white dark:bg-gray-900 mt-10">
<div class="space-y-8 p-3 shadow rounded bg-white dark:bg-gray-900 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) %>