fix: height of token selector overflow div

This commit is contained in:
fragosti
2018-11-07 20:57:57 -08:00
parent 4181a040b5
commit 94d1e427c1
2 changed files with 7 additions and 7 deletions

View File

@@ -35,7 +35,7 @@ export class ERC20TokenSelector extends React.Component<ERC20TokenSelectorProps>
value={this.state.searchQuery}
onChange={this._handleSearchInputChange}
/>
<Container overflow="scroll" height="275px" marginTop="10px">
<Container overflow="scroll" height="400px" marginTop="10px">
{_.map(tokens, token => {
if (!this._isTokenQueryMatch(token)) {
return null;

View File

@@ -28,12 +28,12 @@ export interface DropdownState {
export class Dropdown extends React.Component<DropdownProps, DropdownState> {
public static defaultProps = {
items: [
// {
// text: 'Item 1',
// },
// {
// text: 'Item 2',
// },
{
text: 'Item 1',
},
{
text: 'Item 2',
},
],
};
public state: DropdownState = {