Skip to content

Commit

Permalink
KPMP-5224: adjusted homepage containers to align their edges
Browse files Browse the repository at this point in the history
  • Loading branch information
HaneenT committed Apr 24, 2024
1 parent 85935ca commit 7b56b3c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/components/Home/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ class Home extends Component {
<Col md='12' lg='12'>
<TopContent/>
</Col>
</Row>
<Row>
<Col md='12' lg='4'>
<LeftContent />
</Col>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Home/LeftContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class LeftContent extends Component {
}
render() {
return (
<Row>
<div style={{marginRight: '15px'}}>
<Container className="mt-3 rounded border p-3 shadow-sm">
<h5>Explorer</h5>
<div>
Expand Down Expand Up @@ -60,7 +60,7 @@ class LeftContent extends Component {
<Button className="w-100" color='primary' href='https://www.kpmp.org/collaboration' size='lg' block onClick={() => { this.handleGoogleAnalyticsEvent('Atlas Home', 'Navigation', 'collaborate') }}>Collaborate with us</Button>
</div>
</Container>
</Row>
</div>
);
}
}
Expand Down
5 changes: 2 additions & 3 deletions src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -457,9 +457,8 @@ tr.MuiTableRow-root:nth-child(even) {

#homepage {
@media (min-width: 990px) {
.container-expanded {
max-width: 98.75%;
margin-left: 15px;
.container {
max-width: 100%;
}
}
@media (max-width: 635px) {
Expand Down

0 comments on commit 7b56b3c

Please sign in to comment.