aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/layout.tsx
diff options
context:
space:
mode:
authorEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-11-29 16:06:39 +0800
committerEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-11-29 16:06:39 +0800
commit512b483b6f0613cbc5c4a725f15bf20b440f530c (patch)
tree7f6c93a75a0a1e121c676a31b33dda4c30ec4cb5 /packages/website/ts/@next/components/layout.tsx
parent5a9755da9be3c41febde9ad7e23fb466d5f275fc (diff)
downloaddexon-sol-tools-512b483b6f0613cbc5c4a725f15bf20b440f530c.tar.gz
dexon-sol-tools-512b483b6f0613cbc5c4a725f15bf20b440f530c.tar.zst
dexon-sol-tools-512b483b6f0613cbc5c4a725f15bf20b440f530c.zip
Refactors footer to use layout system
Diffstat (limited to 'packages/website/ts/@next/components/layout.tsx')
-rw-r--r--packages/website/ts/@next/components/layout.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/layout.tsx b/packages/website/ts/@next/components/layout.tsx
index 78c814e5e..b0989224c 100644
--- a/packages/website/ts/@next/components/layout.tsx
+++ b/packages/website/ts/@next/components/layout.tsx
@@ -25,6 +25,7 @@ interface WrapProps {
interface ColumnProps {
colWidth?: '1/4' | '1/3' | '1/2' | '2/3',
+ noPadding?: any,
}
interface GetColWidthArgs {
@@ -82,6 +83,6 @@ export const Wrap = styled.div<WrapProps>`
export const Column = styled.div<ColumnProps>`
width: ${props => props.colWidth ? COLUMN_WIDTHS[props.colWidth] : '100%'};
- padding: 30px;
+ padding: ${props => !props.noPadding && '30px'};
border: 1px solid yellow;
`;