From 316f3e2e766c325bc56260ceb00c1e7a7175adf1 Mon Sep 17 00:00:00 2001 From: fragosti Date: Thu, 8 Nov 2018 15:04:03 -0800 Subject: fix: token selector scrolling container height --- packages/instant/src/components/erc20_token_selector.tsx | 4 ++-- packages/instant/src/components/sliding_panel.tsx | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'packages/instant/src') diff --git a/packages/instant/src/components/erc20_token_selector.tsx b/packages/instant/src/components/erc20_token_selector.tsx index d3224b036..3503ff31a 100644 --- a/packages/instant/src/components/erc20_token_selector.tsx +++ b/packages/instant/src/components/erc20_token_selector.tsx @@ -28,14 +28,14 @@ export class ERC20TokenSelector extends React.Component public render(): React.ReactNode { const { tokens, onTokenSelect } = this.props; return ( - + - + {_.map(tokens, token => { if (!this._isTokenQueryMatch(token)) { return null; diff --git a/packages/instant/src/components/sliding_panel.tsx b/packages/instant/src/components/sliding_panel.tsx index 7ef28e09c..5e8a73663 100644 --- a/packages/instant/src/components/sliding_panel.tsx +++ b/packages/instant/src/components/sliding_panel.tsx @@ -30,7 +30,9 @@ export const Panel: React.StatelessComponent = ({ title, children, o - {children} + + {children} + ); -- cgit v1.2.3