Skip to content

Commit

Permalink
additional styling of components
Browse files Browse the repository at this point in the history
  • Loading branch information
mykovasyl committed Apr 3, 2023
1 parent be8ca43 commit d63e010
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 0 additions & 5 deletions client/src/components/LogIn.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ import { UserContext } from "./App";
import Button from "@mui/material/Button";
import CssBaseline from "@mui/material/CssBaseline";
import TextField from "@mui/material/TextField";
import FormControlLabel from "@mui/material/FormControlLabel";
import Checkbox from "@mui/material/Checkbox";
import Link from "@mui/material/Link";
import Grid from "@mui/material/Grid";
import Box from "@mui/material/Box";
import LockOutlinedIcon from "@mui/icons-material/LockOutlined";
import Typography from "@mui/material/Typography";
import Container from "@mui/material/Container";
import { createTheme, ThemeProvider } from "@mui/material/styles";
Expand Down
1 change: 1 addition & 0 deletions client/src/components/RandomRecipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ function RandomRecipe() {
return (
<div>
<Button
sx={{ mb: 2 }}
type='button'
variant='contained'
onClick={handleClick}
Expand Down
4 changes: 3 additions & 1 deletion client/src/components/Recipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ function Recipe({ recipe }) {
const [ratingValue, setRatingValue] = useState(rating);

const mappedIngredients = ingredients.map((ingredient) => (
<li key={ingredient}>{ingredient}</li>
<li key={ingredient} style={{ listStyleType: "none" }}>
{ingredient}
</li>
));

function addRecipe() {
Expand Down

0 comments on commit d63e010

Please sign in to comment.