fix(layout): centered layout with responsive principles applied

This commit is contained in:
Thomas Ibarra
2019-07-30 17:23:59 -05:00
parent 674d304408
commit 2e85d8e9f1
5 changed files with 22 additions and 21 deletions
+1 -6
View File
@@ -3,12 +3,7 @@ import styled from "styled-components"
export const ContainerWrapper = styled.div`
display: flex;
flex-direction: column;
/* the 172px is necessary because the logo is offset by that much */
/* this ensures the logo never goes off screen */
/* TODO: most likely extract this number */
padding: 0 calc(172px + 32px);
margin: 0 auto;
width: 100%;
margin: 20px;
max-width: 800px;
& > :first-child {