setFieldValue('address', web3.eth.defaultAccount)}>Use My Primary Address}
- />
- {!isSubmitting ? : }
+
+
+ setFieldValue('address', web3.eth.defaultAccount)}>Use My Primary Address}
+ />
+ {!isSubmitting ? : }
+
+
+
+ setFieldValue('address', web3.eth.defaultAccount)}
+ required
+ wide />
+
);
diff --git a/app/ui/components/MobileSearch.js b/app/ui/components/MobileSearch.js
index c90d0a7..84da7fd 100644
--- a/app/ui/components/MobileSearch.js
+++ b/app/ui/components/MobileSearch.js
@@ -2,6 +2,7 @@ import React from 'react';
import styled, { css } from 'styled-components';
import theme from '../theme';
import SearchIcon from '@material-ui/icons/Search';
+import Button from '@material-ui/core/Button';
const searchWrapper = {
width: '100%',
@@ -14,13 +15,19 @@ const searchWrapper = {
paddingLeft: '11px',
};
+const pasteStyle = {
+ ...searchWrapper,
+ paddingLeft: '17em',
+ color: theme.accent
+};
+
const MobileInput = styled.input`
display: block;
border-radius: 4px;
background-color: #eef2f5;
font-size: 16px;
border: none;
- height: 7%;
+ height: 3.5em;
width: ${({ wide }) => (wide ? '100%' : 'auto')};
appearance: none;
box-shadow: none;
@@ -36,7 +43,10 @@ const MobileSearch = props => (
{props.search &&
}
-
+
+
+ {!props.value && props.paste && }
+
);