Skip to content

Commit

Permalink
added body tag + css body class
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiarba committed Apr 1, 2021
1 parent 8a3ab2d commit ffc8089
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
14 changes: 8 additions & 6 deletions client/src/components/Roster.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@ const Roster = props => {
));

return (
<div className="container">
<h1 style={{ height: 'inherit' }}>Mentors</h1>
<div className="containerGrid">{mentorRosterCards}</div>
<h1 style={{ marginTop: '30px', height: 'inherit' }}>Students</h1>
<div className="containerGrid">{studentRosterCards}</div>
</div>
<body>
<div className="container">
<h1 style={{ height: 'inherit' }}>Mentors</h1>
<div className="containerGrid">{mentorRosterCards}</div>
<h1 style={{ marginTop: '30px', height: 'inherit' }}>Students</h1>
<div className="containerGrid">{studentRosterCards}</div>
</div>
</body>
);
};

Expand Down
4 changes: 4 additions & 0 deletions client/src/stylesheets/Roster.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
@import url('https://fonts.googleapis.com/css?family=Lato');

body {
background-color: #e6f4fc;
}

.container {
background-color: #e6f4fc;
margin: 0;
Expand Down

0 comments on commit ffc8089

Please sign in to comment.