Fix padding in App, again... (#3813)

This commit is contained in:
Nicolas Gotchac 2016-12-11 16:49:38 +01:00 committed by Jaco Greeff
parent 6724f574d6
commit 13509a9e83
2 changed files with 8 additions and 1 deletions

View File

@ -19,5 +19,8 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-height: 100vh; min-height: 100vh;
}
.content {
padding-bottom: 1em; padding-bottom: 1em;
} }

View File

@ -30,6 +30,8 @@ import Status from './Status';
import Store from './store'; import Store from './store';
import TabBar from './TabBar'; import TabBar from './TabBar';
import styles from './application.css';
const inFrame = window.parent !== window && window.parent.frames.length !== 0; const inFrame = window.parent !== window && window.parent.frames.length !== 0;
@observer @observer
@ -79,7 +81,9 @@ class Application extends Component {
netChain={ netChain } netChain={ netChain }
isTest={ isTest } isTest={ isTest }
pending={ pending } /> pending={ pending } />
{ children } <div className={ styles.content }>
{ children }
</div>
{ blockNumber ? (<Status />) : null } { blockNumber ? (<Status />) : null }
<Snackbar /> <Snackbar />
</Container> </Container>