1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 09:18:09 +00:00

Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor

This commit is contained in:
Vasek Mlejnsky 2018-09-05 10:58:27 +02:00
commit 61b8a882f3

View File

@ -73,6 +73,12 @@ const Navigation = styled.nav`
position: relative; position: relative;
`; `;
const Body = styled.div`
display: flex;
flex: 1;
flex-direction: column;
`;
const Wallet = (props: WalletContainerProps) => ( const Wallet = (props: WalletContainerProps) => (
<AppWrapper> <AppWrapper>
<Header /> <Header />
@ -85,7 +91,9 @@ const Wallet = (props: WalletContainerProps) => (
</Navigation> </Navigation>
<Notifications /> <Notifications />
<Log /> <Log />
<Body>
{ props.children } { props.children }
</Body>
<Footer /> <Footer />
</MainContent> </MainContent>
</WalletWrapper> </WalletWrapper>