fix(growth): move add form below latest, reorder layout

- Add form now appears between Latest Reading and WHO card
- Remove duplicate form below WHO card
- Similar pattern to Goals card

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Manohar Gupta 2026-05-17 15:21:29 +05:30
parent f82fca224d
commit 52a46de86b

View file

@ -614,7 +614,7 @@ export default function GrowthPage() {
</div> </div>
)} )}
{/* Add/Edit Form */} {/* Empty State */}
{showAdd && ( {showAdd && (
<div className="mx-4 mb-4 p-4 bg-white dark:bg-gray-800 rounded-xl space-y-3"> <div className="mx-4 mb-4 p-4 bg-white dark:bg-gray-800 rounded-xl space-y-3">
<h3 className="font-semibold">{editingId ? "Edit Record" : "Add New Measurement"}</h3> <h3 className="font-semibold">{editingId ? "Edit Record" : "Add New Measurement"}</h3>