1
0
Fork 0

Fix: form padding and rounding

This commit is contained in:
Aroy-Art 2024-09-18 21:31:52 +02:00
parent 3ffc587d82
commit 0b832a3364
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

@ -204,7 +204,7 @@ defmodule NotesAppWeb.CoreComponents do
def simple_form(assigns) do
~H"""
<.form :let={f} for={@for} as={@as} {@rest}>
<div class="mt-10 space-y-8 bg-white">
<div class="mt-10 space-y-8 bg-white p-4 rounded">
<%= render_slot(@inner_block, f) %>
<div :for={action <- @actions} class="mt-2 flex items-center justify-between gap-6">
<%= render_slot(action, f) %>