Showing
2 changed files
with
3 additions
and
1 deletions
... | @@ -19,10 +19,11 @@ const Nav = styled.nav` | ... | @@ -19,10 +19,11 @@ const Nav = styled.nav` |
19 | 19 | ||
20 | const HeaderBox = styled.div` | 20 | const HeaderBox = styled.div` |
21 | height: 100%; | 21 | height: 100%; |
22 | + max-width: 80%; | ||
22 | display: flex; | 23 | display: flex; |
23 | justify-content: space-between; | 24 | justify-content: space-between; |
24 | align-items: center; | 25 | align-items: center; |
25 | - margin: 0px 200px; | 26 | + margin: 0 auto; |
26 | `; | 27 | `; |
27 | 28 | ||
28 | const HeaderTitleBox = styled.div` | 29 | const HeaderTitleBox = styled.div` | ... | ... |
... | @@ -13,6 +13,7 @@ const Section = styled.section` | ... | @@ -13,6 +13,7 @@ const Section = styled.section` |
13 | `; | 13 | `; |
14 | 14 | ||
15 | const SectionBox = styled.div` | 15 | const SectionBox = styled.div` |
16 | + max-width: 80%; | ||
16 | display: grid; | 17 | display: grid; |
17 | grid-column-gap: 5%; | 18 | grid-column-gap: 5%; |
18 | grid-template-columns: 40% 50%; | 19 | grid-template-columns: 40% 50%; | ... | ... |
-
Please register or login to post a comment