Actualiser src/features/editor/card.jsx
Deploy to home / deploy (push) Successful in 11s

This commit is contained in:
cvancau
2026-08-09 18:00:36 +02:00
parent b36b52104f
commit 83b7ba2dc4
+3 -3
View File
@@ -3,15 +3,15 @@ export default function Card(props) {
<div <div
className={ className={
props.className + props.className +
' mb-4 mr-4 flex flex-col justify-start border border-gray-300 rounded-md shadow-md bg-white' ' mb-2 mr-3 flex flex-col justify-start border border-gray-300 rounded-md shadow-md bg-white'
} }
> >
<header className="flex items-start justify-between py-2 px-4 border-b border-solid border-gray-200"> <header className="flex items-start justify-between py-1 px-2 border-b border-solid border-gray-200">
<h3 className="pointer-events-none text-xl font-semibold text-gray-900"> <h3 className="pointer-events-none text-xl font-semibold text-gray-900">
{props.header} {props.header}
</h3> </h3>
</header> </header>
<section className="flex-grow flex flex-col justify-evenly my-3 px-6"> <section className="flex-grow flex flex-col justify-evenly my-1 px-3">
{props.children} {props.children}
</section> </section>
</div> </div>