From cd8e1a221411d95abd5994211c56b1f770a14bdd Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Mon, 10 Sep 2018 16:38:00 +0200 Subject: [PATCH] Fixed header and footer using sticky 2 --- src/views/Wallet/components/LeftNavigation/index.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/views/Wallet/components/LeftNavigation/index.js b/src/views/Wallet/components/LeftNavigation/index.js index cf7c38aa..47703bf4 100644 --- a/src/views/Wallet/components/LeftNavigation/index.js +++ b/src/views/Wallet/components/LeftNavigation/index.js @@ -12,10 +12,9 @@ import CoinMenu from './components/CoinMenu'; import DeviceMenu from './components/DeviceMenu'; const Wrapper = styled.div` - position: relative; width: 320px; - min-width: 320px; - overflow-x: hidden; + overflow: scroll; + border: 2px solid red; background: ${colors.MAIN}; border-right: 1px solid ${colors.DIVIDER}; `; @@ -159,11 +158,10 @@ class LeftNavigation extends Component { render() { return ( - +
this.handleOpen()} device={this.props.wallet.selectedDevice} @@ -173,12 +171,12 @@ class LeftNavigation extends Component { {...this.props} /> - + {this.state.shouldRenderDeviceSelection && } {this.shouldRenderAccounts() && this.getMenuTransition()} {this.shouldRenderCoins() && this.getMenuTransition()} - +