From 6edbf338bc63bbc7c8024dbd8fc61cce41636136 Mon Sep 17 00:00:00 2001 From: Adolfo Panizo Date: Sun, 16 Sep 2018 09:47:22 +0200 Subject: [PATCH] Passing Stepper controls down to the Paper step component --- src/components/Stepper/Controls/index.jsx | 7 +++---- src/components/Stepper/index.jsx | 24 +++++++++++++---------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/src/components/Stepper/Controls/index.jsx b/src/components/Stepper/Controls/index.jsx index 21634e23..aa4962fb 100644 --- a/src/components/Stepper/Controls/index.jsx +++ b/src/components/Stepper/Controls/index.jsx @@ -3,6 +3,7 @@ import * as React from 'react' import Button from '~/components/layout/Button' import Col from '~/components/layout/Col' import Row from '~/components/layout/Row' +import { sm } from '~/theme/variables' type ControlProps = { next: string, @@ -14,15 +15,13 @@ type ControlProps = { const controlStyle = { backgroundColor: 'white', - padding: '8px', - borderBottomRightRadius: '4px', - borderBottomLeftRadius: '4px', + padding: sm, } const ControlButtons = ({ next, back, firstPage, onPrevious, disabled, }: ControlProps) => ( - +