1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2024-12-26 23:42:29 -05:00

Fix full-height tabs issue in Chrome

This commit is contained in:
Aaron Lindsay 2016-02-13 10:26:48 -05:00
parent 41361b040c
commit 8b71675a48

View File

@ -277,7 +277,7 @@ module.exports = React.createClass({
if (this.state.user.isUser()) if (this.state.user.isUser())
mainContent = ( mainContent = (
<Tabs defaultActiveKey={1}> <Tabs defaultActiveKey={1}>
<Tab title="Accounts" eventKey={1} tabClassName="fullheight"> <Tab title="Accounts" eventKey={1} >
<AccountsTab <AccountsTab
className="fullheight" className="fullheight"
accounts={this.state.accounts} accounts={this.state.accounts}
@ -288,9 +288,9 @@ module.exports = React.createClass({
onUpdateAccount={this.handleUpdateAccount} onUpdateAccount={this.handleUpdateAccount}
onDeleteAccount={this.handleDeleteAccount} /> onDeleteAccount={this.handleDeleteAccount} />
</Tab> </Tab>
<Tab title="Scheduled Transactions" eventKey={2} tabClassName="fullheight">Scheduled transactions go here...</Tab> <Tab title="Scheduled Transactions" eventKey={2} >Scheduled transactions go here...</Tab>
<Tab title="Budgets" eventKey={3} tabClassName="fullheight">Budgets go here...</Tab> <Tab title="Budgets" eventKey={3} >Budgets go here...</Tab>
<Tab title="Reports" eventKey={4} tabClassName="fullheight">Reports go here...</Tab> <Tab title="Reports" eventKey={4} >Reports go here...</Tab>
</Tabs>); </Tabs>);
else else
mainContent = ( mainContent = (