Skip to content

Commit

Permalink
Merge branch 'dg-sm-home-page-styling' of https://github.com/the-coll…
Browse files Browse the repository at this point in the history
…ab-lab/tcl-68-smart-shopping-list into dg-sm-home-page-styling
  • Loading branch information
DevinaG007 committed Apr 4, 2024
2 parents 6b38a92 + f1a8230 commit 0061626
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/SingleList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@ export function SingleList({ name, path, setListPath }) {
}

return (
<li className="SingleList border-2 border-sage rounded-lg bg-pale-green my-2 px-3 py-2 text-off-black w-full md:w-1/2">
<button onClick={handleClick}>{name}</button>
<li className="SingleList flex flex-col items-center w-full">
<button
className="border-2 border-sage rounded-lg bg-pale-green my-2 px-3 py-2 text-off-black w-full md:w-1/2"
onClick={handleClick}
>
{name}
</button>
</li>
);
}

0 comments on commit 0061626

Please sign in to comment.