generated from the-collab-lab/smart-shopping-list
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from the-collab-lab/pc-final-styling
Final styling changes
- Loading branch information
Showing
15 changed files
with
189 additions
and
75 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
.owner-message { | ||
position: fixed; | ||
width: min(72ch, 100%); | ||
bottom: 5.18rem; | ||
bottom: 7.38rem; | ||
padding: 0.4em 0.4em; | ||
margin: 0 auto; | ||
background-color: white; | ||
/* background-color: white; */ | ||
/* z-index: 1; */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,9 @@ export function ShareList({ listPath }) { | |
setEmailValidator( | ||
'Please enter a valid email, e.g., [email protected].', | ||
); | ||
setIsValid(false); | ||
} | ||
console.log('email valid?', isValid); | ||
}; | ||
|
||
const handleSubmit = async (e) => { | ||
|
@@ -60,19 +62,12 @@ export function ShareList({ listPath }) { | |
value={recipientEmail} | ||
onChange={handleChange} | ||
/> */} | ||
<Box maxWidth="22em" pb="2"> | ||
<Box maxWidth="22em" pb="5"> | ||
<TextField.Root | ||
value={recipientEmail} | ||
onChange={handleChange} | ||
></TextField.Root> | ||
</Box> | ||
<Box as="div" py="2"> | ||
<Text as="p"> | ||
<Badge style={{ color: 'black' }} color="red"> | ||
{emailValidator} | ||
</Badge> | ||
</Text> | ||
</Box> | ||
|
||
{user ? ( | ||
<Button className="custom-button" type="submit"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.