refactor(containers): clean up container styling

This commit is contained in:
Thomas Ibarra
2019-07-31 10:42:19 -05:00
parent 1fa92ac026
commit b684ddc8bd
6 changed files with 9 additions and 33 deletions
-1
View File
@@ -17,7 +17,6 @@ export function Header() {
<Container>
<SC.InnerWrapper>
<SC.Logo src={logo} />
<SC.Menu>
<MenuItem to="/about">about</MenuItem>
<MenuItem to="/rules">rules</MenuItem>
+2 -3
View File
@@ -2,7 +2,7 @@ import { Link } from "gatsby"
import styled from "styled-components"
export const HeaderWrapper = styled.header`
margin: 0 auto 20px;
margin-bottom: 20px;
`
export const InnerWrapper = styled.div`
@@ -21,9 +21,8 @@ export const Logo = styled.img`
export const Menu = styled.nav`
display: flex;
align-items: flex-start;
justify-content: space-between;
justify-content: center;
flex-wrap: wrap;
width: 100%;
`
export const MenuItem = styled(Link)`