Fix authentication page on mobile devices

This commit is contained in:
Dane Everitt 2019-12-22 21:18:29 -08:00
parent 513692fef5
commit 1f6f7c4bb4
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
10 changed files with 94 additions and 80 deletions

View file

@ -10,13 +10,11 @@ export default ({ location }: RouteComponentProps) => (
<React.Fragment>
<NavigationBar/>
<TransitionRouter>
<div className={'w-full mx-auto'} style={{ maxWidth: '1200px' }}>
<Switch location={location}>
<Route path={'/'} component={DashboardContainer} exact/>
<Route path={'/account'} component={AccountOverviewContainer}/>
<Route path={'/design'} component={DesignElementsContainer}/>
</Switch>
</div>
<Switch location={location}>
<Route path={'/'} component={DashboardContainer} exact/>
<Route path={'/account'} component={AccountOverviewContainer}/>
<Route path={'/design'} component={DesignElementsContainer}/>
</Switch>
</TransitionRouter>
</React.Fragment>
);