Skip to content

Commit

Permalink
fix submission styling
Browse files Browse the repository at this point in the history
  • Loading branch information
annacai44 committed Jan 14, 2025
1 parent 7aec1b3 commit 7c75934
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/components/AppBar/AppBar.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
align-items: center;
color: white;
background-color: #4E2A84;
margin: 0 0 1.5rem 0;
height: 4rem;
}
4 changes: 2 additions & 2 deletions src/components/Submission/Submission.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function Submission({ userName }) {
<div>
<AppBar />
<Container className="submission-page">
<Stack spacing={3}>
<Stack spacing={2}>
<TextField required id="title" label="Title" value={title} type='text' onChange={(e) => setTitle(e.target.value)} />
<TextField required id="course" label="Course" value={course} type='text' onChange={(e) => setCourse(e.target.value)} />
<TextField required id="professor" label="Professor" value={professor} type='text' onChange={(e) => setProfessor(e.target.value)} />
Expand Down Expand Up @@ -102,7 +102,7 @@ function Submission({ userName }) {
</FormControl>

{/* <TextField required id="quarter" label="Quarter" value={quarter} type='text' onChange={(e) => setQuarter(e.target.value)} /> */}
<TextField required id="body" multiline rows={5} label="Write your review!" value={body} type='text' onChange={(e) => setBody(e.target.value)} />
<TextField required id="body" multiline rows={3} label="Write your review!" value={body} type='text' onChange={(e) => setBody(e.target.value)} />
<div className="rating-box">
<Typography variant="h6" component="legend">Course Rating</Typography>
<Rating id="rating" name="half-rating" size="large" defaultValue={0} precision={0.5} onChange={(_, newValue) => setRating(newValue)} />
Expand Down

0 comments on commit 7c75934

Please sign in to comment.