From 94d1e427c142fe5cad7a211d38dd9a3235d15df9 Mon Sep 17 00:00:00 2001 From: fragosti Date: Wed, 7 Nov 2018 20:57:57 -0800 Subject: fix: height of token selector overflow div --- packages/instant/src/components/erc20_token_selector.tsx | 2 +- packages/instant/src/components/ui/dropdown.tsx | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/instant/src/components/erc20_token_selector.tsx b/packages/instant/src/components/erc20_token_selector.tsx index 41b0b44b0..365995905 100644 --- a/packages/instant/src/components/erc20_token_selector.tsx +++ b/packages/instant/src/components/erc20_token_selector.tsx @@ -35,7 +35,7 @@ export class ERC20TokenSelector extends React.Component value={this.state.searchQuery} onChange={this._handleSearchInputChange} /> - + {_.map(tokens, token => { if (!this._isTokenQueryMatch(token)) { return null; diff --git a/packages/instant/src/components/ui/dropdown.tsx b/packages/instant/src/components/ui/dropdown.tsx index c69e89c0e..bfedc0f5a 100644 --- a/packages/instant/src/components/ui/dropdown.tsx +++ b/packages/instant/src/components/ui/dropdown.tsx @@ -28,12 +28,12 @@ export interface DropdownState { export class Dropdown extends React.Component { public static defaultProps = { items: [ - // { - // text: 'Item 1', - // }, - // { - // text: 'Item 2', - // }, + { + text: 'Item 1', + }, + { + text: 'Item 2', + }, ], }; public state: DropdownState = { -- cgit