From 664597cd0aec72b5cfa8eea5ad440b5d94f103d5 Mon Sep 17 00:00:00 2001 From: wanning Date: Sun, 27 Aug 2023 07:06:00 +1000 Subject: [PATCH] layouting --- src/components/SuggestCard.jsx | 4 ++-- src/pages/SuggestPlant.jsx | 26 ++++++++++++++------------ 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/src/components/SuggestCard.jsx b/src/components/SuggestCard.jsx index faf2222..e290169 100644 --- a/src/components/SuggestCard.jsx +++ b/src/components/SuggestCard.jsx @@ -3,7 +3,7 @@ import { motion } from 'framer-motion'; const SuggestCard = ({ name, imageUrl }) => { return ( -
+

{name}

{ whileTap={{ scale: 0.9 }} className='btn btn-accent hover:shadow-lg' > - Add to my garden + Add to garden
diff --git a/src/pages/SuggestPlant.jsx b/src/pages/SuggestPlant.jsx index e6bebb8..95fb82b 100644 --- a/src/pages/SuggestPlant.jsx +++ b/src/pages/SuggestPlant.jsx @@ -181,18 +181,20 @@ const SuggestPlant = () => {

The best matches for you are

- - - +
+ + + +
)}