Merge pull request #61 from CPSC319-Winter-term-2/mbalsdon-contacts-touchups-2

fix spacing, fix border color, fix Upcoming Meetings text color
This commit is contained in:
Mathew Balsdon 2022-03-30 10:04:25 -07:00 committed by GitHub
commit c80cd95297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -31,7 +31,7 @@ const LowerBody: React.FC<Props> = (props) => {
}} }}
> >
<Typography <Typography
sx={{ color: "white", my: 1 }} sx={{ color: "black", mt: 1, borderBottom: 1, borderColor: "#ac000d", pb: 1 }}
variant="h4" variant="h4"
textAlign="center" textAlign="center"
> >
@ -56,6 +56,8 @@ const LowerBody: React.FC<Props> = (props) => {
px: "10px", px: "10px",
borderTop: 1, borderTop: 1,
borderBottom: i === meetings.length - 1 ? 1 : 0, borderBottom: i === meetings.length - 1 ? 1 : 0,
borderColor: "#af000d",
backgroundColor: "#fff5f5"
}} }}
key={i} key={i}
> >

View File

@ -82,10 +82,10 @@ const UpperBody: React.FC<Props> = ({ contactInfo }) => {
mx: 4, mx: 4,
}} }}
> >
<Typography variant="h3">{contactInfo.name}</Typography> <Typography sx={{ mt: 2 }} variant="h3">{contactInfo.name}</Typography>
{!favoritesUuids.includes(contactInfo.uuid) ? ( {!favoritesUuids.includes(contactInfo.uuid) ? (
<Button <Button
variant="outlined" variant="contained"
color="success" color="success"
startIcon={<AddIcon />} startIcon={<AddIcon />}
onClick={() => onClick={() =>
@ -96,7 +96,7 @@ const UpperBody: React.FC<Props> = ({ contactInfo }) => {
</Button> </Button>
) : ( ) : (
<Button <Button
variant="outlined" variant="contained"
color="secondary" color="secondary"
startIcon={<RemoveIcon />} startIcon={<RemoveIcon />}
onClick={() => onClick={() =>