Skip to content

Commit

Permalink
Merge pull request #46 from the-collab-lab/ss-final-adjustment
Browse files Browse the repository at this point in the history
Final Adjustment
  • Loading branch information
Satoshi-Sh authored Oct 8, 2023
2 parents fc0a694 + 541ea7a commit bda4abf
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
22 changes: 10 additions & 12 deletions src/views/AddItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export function AddItem({ listId, data }) {
)}
</div>
</div>
<form onSubmit={handleSubmit}>
<form onSubmit={handleSubmit} className="pb-20">
<div className="flex flex-col justify-center items-center">
<label htmlFor="item" className="px-3 mt-2 font-semibold">
Item:
Expand All @@ -131,7 +131,7 @@ export function AddItem({ listId, data }) {
className="text-gray-500 mr-2 sm:mr-4"
/>
<input
className="pl-2 flex-grow border-none bg-transparent placeholder-light dark:placeholder-dark"
className="pl-2 w-full border-none bg-transparent placeholder-light dark:placeholder-dark"
type="text"
id="item"
name="item"
Expand All @@ -143,8 +143,8 @@ export function AddItem({ listId, data }) {
/>
</div>
</div>
<p className="mt-3 pt-10">How soon will you buy this item?</p>
<div className="flex flex-col sm:flex-row sm:gap-6 justify-center mb-10 sm:py-44">
<p className="mt-3 pt-5 sm:pt-20">How soon will you buy this item?</p>
<div className="flex flex-col sm:flex-row sm:gap-6 justify-center mb-10 sm:py-10">
<UrgencyTag
color={'bg-light-blue'}
value={'soon'}
Expand Down Expand Up @@ -173,14 +173,12 @@ export function AddItem({ listId, data }) {
order={'3'}
/>
</div>
<div className="pb-10">
<Button
text="ADD ITEM"
withIcon={true}
onClick={handleSubmit}
className="mb-5 sm:m-16"
/>
</div>
<Button
text="ADD ITEM"
withIcon={true}
onClick={handleSubmit}
className="mb-5 sm:m-16"
/>
</form>
</div>
);
Expand Down
6 changes: 3 additions & 3 deletions src/views/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function Home({ createToken, setListToken }) {
<input
type="text"
id="tokenInput"
className="flex-grow border-none bg-transparent dark:text-black text-center text-2xl mr-14 dark:placeholder:text-green"
className="w-full border-none bg-transparent dark:text-black text-center text-2xl dark:placeholder:text-green"
value={tokenInput}
onChange={handleTokenInputChange}
placeholder="my list token"
Expand Down Expand Up @@ -104,8 +104,8 @@ export function Home({ createToken, setListToken }) {

return (
<div className="Home">
<div className="mt-48 flex items-center justify-center">
<div className="flex flex-col items-center gap-10">
<div className="mt-24 flex-col items-center justify-center">
<div className="flex flex-col h-10 items-center gap-10">
<div>
{existingListMessage && (
<RoughNotation
Expand Down
2 changes: 1 addition & 1 deletion src/views/List.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export function List({ data, listId }) {
className="text-gray-500 mr-2 sm:mr-4"
/>
<input
className="flex-grow border-none bg-transparent placeholder-light dark:placeholder-dark"
className="w-full border-none bg-transparent placeholder-light dark:placeholder-dark"
type="text"
name="filter"
id="filter"
Expand Down

0 comments on commit bda4abf

Please sign in to comment.