Test with max widths
This commit is contained in:
@@ -29,7 +29,7 @@ interface ColumnProps {
|
||||
|
||||
const GUTTER = 30 as number;
|
||||
const WRAPPER_WIDTHS: WrapWidths = {
|
||||
default: `calc(100% - ${GUTTER * 2}px)`,
|
||||
default: '1500px', // dunno
|
||||
full: '100%',
|
||||
medium: '1136px',
|
||||
narrow: '930px',
|
||||
|
||||
@@ -28,7 +28,9 @@ const SiteWrap: React.StatelessComponent<Props> = props => {
|
||||
|
||||
const Main = styled.main`
|
||||
border: 1px solid blue;
|
||||
padding: 30px;
|
||||
width: calc(100% - 60px);
|
||||
max-width: 1500px;
|
||||
margin: 0 auto;
|
||||
`;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user