diff options
author | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-11-29 00:43:27 +0800 |
---|---|---|
committer | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-11-29 00:43:27 +0800 |
commit | 36d94b894ab6f480e50a539efa25193ec6de3d8b (patch) | |
tree | d2ea87baa432cb3018b0a2262fa9f4eee7c3171e | |
parent | a18a11da928b576f179174fb993490bfce2321be (diff) | |
download | dexon-sol-tools-36d94b894ab6f480e50a539efa25193ec6de3d8b.tar.gz dexon-sol-tools-36d94b894ab6f480e50a539efa25193ec6de3d8b.tar.zst dexon-sol-tools-36d94b894ab6f480e50a539efa25193ec6de3d8b.zip |
Test with max widths
-rw-r--r-- | packages/website/ts/@next/components/layout.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/@next/components/siteWrap.tsx | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/website/ts/@next/components/layout.tsx b/packages/website/ts/@next/components/layout.tsx index 485e82e1e..355f32b6c 100644 --- a/packages/website/ts/@next/components/layout.tsx +++ b/packages/website/ts/@next/components/layout.tsx @@ -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', diff --git a/packages/website/ts/@next/components/siteWrap.tsx b/packages/website/ts/@next/components/siteWrap.tsx index eebf6c25c..952364f03 100644 --- a/packages/website/ts/@next/components/siteWrap.tsx +++ b/packages/website/ts/@next/components/siteWrap.tsx @@ -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; `; |