aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-11-29 00:43:27 +0800
committerEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-11-29 00:43:27 +0800
commit36d94b894ab6f480e50a539efa25193ec6de3d8b (patch)
treed2ea87baa432cb3018b0a2262fa9f4eee7c3171e /packages
parenta18a11da928b576f179174fb993490bfce2321be (diff)
downloaddexon-sol-tools-36d94b894ab6f480e50a539efa25193ec6de3d8b.tar
dexon-sol-tools-36d94b894ab6f480e50a539efa25193ec6de3d8b.tar.gz
dexon-sol-tools-36d94b894ab6f480e50a539efa25193ec6de3d8b.tar.bz2
dexon-sol-tools-36d94b894ab6f480e50a539efa25193ec6de3d8b.tar.lz
dexon-sol-tools-36d94b894ab6f480e50a539efa25193ec6de3d8b.tar.xz
dexon-sol-tools-36d94b894ab6f480e50a539efa25193ec6de3d8b.tar.zst
dexon-sol-tools-36d94b894ab6f480e50a539efa25193ec6de3d8b.zip
Test with max widths
Diffstat (limited to 'packages')
-rw-r--r--packages/website/ts/@next/components/layout.tsx2
-rw-r--r--packages/website/ts/@next/components/siteWrap.tsx4
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;
`;