diff options
Diffstat (limited to 'packages/website/ts/@next/components/layout.tsx')
-rw-r--r-- | packages/website/ts/@next/components/layout.tsx | 3 |
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; `; |