From 8075fd1741833be85cfcf5c74e7dfed9f03add88 Mon Sep 17 00:00:00 2001 From: tataw-cl <127490325+tataw-cl@users.noreply.github.com> Date: Sat, 5 Oct 2024 14:46:37 +0100 Subject: [PATCH 1/2] Add styling for all forms --- src/components/AddItem.jsx | 13 +++++++++---- src/components/AddList.jsx | 6 +++++- src/views/List.jsx | 11 +++++++++-- src/views/ManageList.jsx | 6 +++++- 4 files changed, 28 insertions(+), 8 deletions(-) diff --git a/src/components/AddItem.jsx b/src/components/AddItem.jsx index b8d130e..bde0db0 100644 --- a/src/components/AddItem.jsx +++ b/src/components/AddItem.jsx @@ -69,7 +69,10 @@ export function AddItem({ data, listPath }) { return ( <> -
+ {/* Item Name Section */}
@@ -98,9 +101,11 @@ export function AddItem({ data, listPath }) { onChange={handleNewItemChange} value={formNewItem.nextPurchase} required - className="border p-2 rounded mb-4" + className="border p-2 rounded mb-4 border-blue-100 " > - + diff --git a/src/components/AddList.jsx b/src/components/AddList.jsx index a3045d9..928d7de 100644 --- a/src/components/AddList.jsx +++ b/src/components/AddList.jsx @@ -25,7 +25,10 @@ export function AddList({ setListPath, userId, userEmail }) { return ( <> - + setListName(e.target.value)} placeholder="Enter the name of your new list" required + className="w-64 p-1 border border-blue-200 focus:outline-none focus:ring-opacity-50" /> From 96293ee41ac1b8aebd46ecf8297486ab8dca7e7e Mon Sep 17 00:00:00 2001 From: tataw-cl <127490325+tataw-cl@users.noreply.github.com> Date: Sat, 5 Oct 2024 15:17:13 +0100 Subject: [PATCH 2/2] Align items --- src/components/AddItem.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AddItem.jsx b/src/components/AddItem.jsx index bde0db0..744995e 100644 --- a/src/components/AddItem.jsx +++ b/src/components/AddItem.jsx @@ -71,7 +71,7 @@ export function AddItem({ data, listPath }) { <> {/* Item Name Section */}