aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-08 12:57:57 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-08 12:57:57 +0800
commit94d1e427c142fe5cad7a211d38dd9a3235d15df9 (patch)
tree20fcde7dc3bbdd46119d4425672336f07e855810 /packages/instant/src/components
parent4181a040b5d5ca2335556948585278133ec63bd1 (diff)
downloaddexon-0x-contracts-94d1e427c142fe5cad7a211d38dd9a3235d15df9.tar.gz
dexon-0x-contracts-94d1e427c142fe5cad7a211d38dd9a3235d15df9.tar.zst
dexon-0x-contracts-94d1e427c142fe5cad7a211d38dd9a3235d15df9.zip
fix: height of token selector overflow div
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r--packages/instant/src/components/erc20_token_selector.tsx2
-rw-r--r--packages/instant/src/components/ui/dropdown.tsx12
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<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;
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<DropdownProps, DropdownState> {
public static defaultProps = {
items: [
- // {
- // text: 'Item 1',
- // },
- // {
- // text: 'Item 2',
- // },
+ {
+ text: 'Item 1',
+ },
+ {
+ text: 'Item 2',
+ },
],
};
public state: DropdownState = {