Skip to content

Commit

Permalink
Merge pull request #41 from the-collab-lab/glassFeature
Browse files Browse the repository at this point in the history
ui updates
  • Loading branch information
IamHenryOkeke authored Apr 7, 2024
2 parents 152e7cd + 57376df commit 420b42d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/ListItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,15 @@ export function ListItem({ id, listPath, itemData, timeNow }) {
};

return (
<li className="flex gap-10">
<li className="flex justify-between gap-10">
<label htmlFor={name} className="flex items-center gap-2">
<Checkbox
size="3"
name="name"
onChange={setItemPurchased}
checked={itemChecked}
/>
<p className={`${itemChecked ? 'line-through text-white/50' : ''}`}>
<p className={`${itemChecked ? 'line-through text-black/70' : ''}`}>
{name}
</p>
{itemChecked ? (
Expand Down
4 changes: 2 additions & 2 deletions src/views/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function Layout() {
<>
<div className="Layout">
<header className="Layout-header">
<div className="login-user">
<div className="login-user text-black/70">
{!user ? (
<div className="flex justify-end gap-5 items-center">
<FaUser />
Expand Down Expand Up @@ -54,7 +54,7 @@ export function Layout() {
</div>
</nav>
<main className="Layout-main">
<h1 className="my-3 text-center font-extrabold text-4xl pb-9 capitalize text-black dark:text-white">
<h1 className="text-black my-3 text-center font-extrabold text-4xl pb-9 capitalize">
{localStorage.getItem('list') || 'No list selected'}
</h1>
<Outlet />
Expand Down
2 changes: 1 addition & 1 deletion src/views/List.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function List({ data, listPath }) {
</button>
</div>
) : (
<div>
<div className="home">
<form className="flex flex-col md:flex-row items-center gap-5">
<div>
<label htmlFor="search">Search: </label>
Expand Down
2 changes: 1 addition & 1 deletion src/views/ManageList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export function ManageList({ listPath, userId, existingItems }) {
};

return (
<div className="manage-list flex items-center gap-10">
<div className="manage-list flex items-center gap-10 text-black">
<form className="add-item h-96 w-auto" onSubmit={handleItemSubmit}>
<h1 className="text-4xl my-5">Add List Item</h1>
<div className="flex gap-2">
Expand Down

0 comments on commit 420b42d

Please sign in to comment.