Browse Source

Put generic padding on all views

master
meriadec 7 years ago
parent
commit
08c9b1901d
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 2
      src/components/AccountPage.js
  2. 2
      src/components/DashboardPage.js
  3. 2
      src/components/SettingsPage/index.js
  4. 2
      src/components/Wrapper.js

2
src/components/AccountPage.js

@ -28,7 +28,7 @@ class AccountPage extends PureComponent<Props> {
const { account, accountData } = this.props const { account, accountData } = this.props
return ( return (
<Box p={3} flow={3}> <Box flow={3}>
<Box> <Box>
<Text fontSize={4}>{`${account.name} account`}</Text> <Text fontSize={4}>{`${account.name} account`}</Text>
</Box> </Box>

2
src/components/DashboardPage.js

@ -22,7 +22,7 @@ type Props = {
class DashboardPage extends PureComponent<Props> { class DashboardPage extends PureComponent<Props> {
render() { render() {
const { totalBalance } = this.props const { totalBalance } = this.props
return <Box p={20}>Your balance: {format(totalBalance)}</Box> return <Box>Your balance: {format(totalBalance)}</Box>
} }
} }

2
src/components/SettingsPage/index.js

@ -25,7 +25,7 @@ class SettingsPage extends PureComponent<Props, State> {
const { tab } = this.state const { tab } = this.state
return ( return (
<Box p={3} flow={4}> <Box flow={4}>
<Text fontSize={5}>{'Settings'}</Text> <Text fontSize={5}>{'Settings'}</Text>
<Tabs <Tabs
index={tab} index={tab}

2
src/components/Wrapper.js

@ -42,7 +42,7 @@ class Wrapper extends Component<{}> {
<TopBar /> <TopBar />
<Box grow relative> <Box grow relative>
<UpdateNotifier /> <UpdateNotifier />
<GrowScroll> <GrowScroll p={3}>
<Route path="/" exact component={DashboardPage} /> <Route path="/" exact component={DashboardPage} />
<Route path="/settings" component={SettingsPage} /> <Route path="/settings" component={SettingsPage} />
<Route path="/account/:id" component={AccountPage} /> <Route path="/account/:id" component={AccountPage} />

Loading…
Cancel
Save