diff --git a/static/account_register.js b/static/account_register.js index 3e2c99d..15b2cd0 100644 --- a/static/account_register.js +++ b/static/account_register.js @@ -302,7 +302,7 @@ const AccountRegister = React.createClass({ }, resize: function() { var div = React.findDOMNode(this); - this.setState({height: div.parentElement.clientHeight - 30}); + this.setState({height: div.parentElement.clientHeight - 64}); }, componentDidMount: function() { this.resize(); @@ -495,7 +495,9 @@ const AccountRegister = React.createClass({ )); } + var style = {height: this.state.height + "px"}; register = ( +
@@ -510,14 +512,14 @@ const AccountRegister = React.createClass({ {transactionRows}
Date
+
); } - var style = {height: this.state.height + "px"}; var disabled = (this.props.selectedAccount == null) ? "disabled" : ""; return ( -
+