Skip to content

Commit

Permalink
added common styles for section. added styles for data display section
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardomcv committed Jul 20, 2020
1 parent 638fd71 commit e854507
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions src/components/MainContent/MainContent.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,23 @@
height: calc(100vh - 5rem); /* viewport height minus the height of the header */
width: 100%;
max-width: 60rem;
margin: 0 auto;
margin: 0 auto; /* will center automatically */
}

.main-content > section {
width: 100%;
margin-top: 2rem;
}

.controls-section {
display: flex;
justify-content: space-evenly;
width: 100%;
margin-top: 2rem;
}

.data-display-section {
display: flex;
flex-direction: column;
align-items: center;
color: white;
text-align: center;
}

0 comments on commit e854507

Please sign in to comment.