Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-07-16 16:56:33 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
477af8182f319202bde2fef444217b8135e8c1ec
477af818
1 parent
77ae14fb
add max-width for align center
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
front/src/Components/Header.js
front/src/Components/Main.js
front/src/Components/Header.js
View file @
477af81
...
...
@@ -19,10 +19,11 @@ const Nav = styled.nav`
const
HeaderBox
=
styled
.
div
`
height: 100%;
max-width: 80%;
display: flex;
justify-content: space-between;
align-items: center;
margin: 0
px 200px
;
margin: 0
auto
;
`
;
const
HeaderTitleBox
=
styled
.
div
`
...
...
front/src/Components/Main.js
View file @
477af81
...
...
@@ -13,6 +13,7 @@ const Section = styled.section`
`
;
const
SectionBox
=
styled
.
div
`
max-width: 80%;
display: grid;
grid-column-gap: 5%;
grid-template-columns: 40% 50%;
...
...
Please
register
or
login
to post a comment