From 9f27f408a2a6cbfd77e2a1d9c5c7b2ea0ae1c823 Mon Sep 17 00:00:00 2001 From: apanizo Date: Mon, 1 Oct 2018 17:33:42 +0200 Subject: [PATCH] Making padding on Open paper optional --- src/components/Stepper/OpenPaper/index.jsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/Stepper/OpenPaper/index.jsx b/src/components/Stepper/OpenPaper/index.jsx index 99ad9c8e..b8630c78 100644 --- a/src/components/Stepper/OpenPaper/index.jsx +++ b/src/components/Stepper/OpenPaper/index.jsx @@ -11,8 +11,9 @@ const styles = () => ({ maxWidth: '770px', }, container: { - maxWidth: '600px', letterSpacing: '-0.5px', + }, + padding: { padding: lg, }, }) @@ -21,11 +22,14 @@ type Props = { classes: Object, children: React$Node, controls: React$Node, + padding?: boolean, } -const OpenPaper = ({ classes, children, controls }: Props) => ( +const OpenPaper = ({ + classes, children, controls, padding = true, +}: Props) => ( - + {children} { controls }