ui: update header/nav style to match layout

This commit is contained in:
Jean-Philippe Sirois
2019-07-29 10:26:55 -04:00
parent 51ab549237
commit f49432e638
7 changed files with 130 additions and 94 deletions
+5 -2
View File
@@ -3,10 +3,13 @@ import styled from "styled-components"
export const ContainerWrapper = styled.div`
display: flex;
flex-direction: column;
padding: 0 32px;
/* 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%;
max-width: 1015px;
max-width: 800px;
& > :first-child {
margin-top: 0;