From 3315006c459d49d5cb412743bf190dbeda4ad5fa Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Wed, 27 Jun 2018 17:04:20 -0700 Subject: Fix learn how to set up account layout --- packages/website/ts/components/portal/portal.tsx | 20 +++++++++++--------- packages/website/ts/components/portal/section.tsx | 4 ++-- 2 files changed, 13 insertions(+), 11 deletions(-) (limited to 'packages/website/ts') diff --git a/packages/website/ts/components/portal/portal.tsx b/packages/website/ts/components/portal/portal.tsx index d36ec99b0..a9396b83f 100644 --- a/packages/website/ts/components/portal/portal.tsx +++ b/packages/website/ts/components/portal/portal.tsx @@ -324,9 +324,9 @@ export class Portal extends React.Component { const marginBottom = isMobile ? '200px' : '15px'; return (
- + {isMobile && {this._renderStartOnboarding()}} - + { refetchTokenStateAsync={this._refetchTokenStateAsync.bind(this)} /> - {!isMobile && {this._renderStartOnboarding()}} + {!isMobile && {this._renderStartOnboarding()}} { } private _renderStartOnboarding(): React.ReactNode { return ( - + - - Learn how to set up your account - + + + Learn how to set up your account + + ); } @@ -526,10 +528,10 @@ export class Portal extends React.Component { private _renderRelayerIndex(): React.ReactNode { const isMobile = utils.isMobile(this.props.screenWidth); return ( -
+ {isMobile && {this._renderStartOnboarding()}} -
+
); } private _renderNotFoundMessage(): React.ReactNode { diff --git a/packages/website/ts/components/portal/section.tsx b/packages/website/ts/components/portal/section.tsx index 455ed07c9..b6c9fd098 100644 --- a/packages/website/ts/components/portal/section.tsx +++ b/packages/website/ts/components/portal/section.tsx @@ -6,9 +6,9 @@ export interface SectionProps { } export const Section = (props: SectionProps) => { return ( -
+
{props.header} -
{props.body}
+ {props.body}
); }; -- cgit