feature: fix SendView fonts

This commit is contained in:
eliabejr 2019-01-10 14:51:51 -03:00
parent 5a68f72c97
commit 4066f62ff7
1 changed files with 9 additions and 9 deletions

View File

@ -20,12 +20,12 @@ import type { SendTransactionInput } from '../containers/send';
const FormWrapper = styled.div` const FormWrapper = styled.div`
margin-top: ${props => props.theme.layoutContentPaddingTop}; margin-top: ${props => props.theme.layoutContentPaddingTop};
width: 80%; width: 65%;
`; `;
const SendWrapper = styled(ColumnComponent)` const SendWrapper = styled(ColumnComponent)`
margin-top: 60px; margin-top: 60px;
width: 15%; width: 30%;
`; `;
const ShowFeeButton = styled.button` const ShowFeeButton = styled.button`
@ -99,7 +99,7 @@ export class SendView extends PureComponent<Props, State> {
state = { state = {
showFee: false, showFee: false,
from: '', from: '',
amount: '0', amount: '',
to: '', to: '',
feeType: FEES.LOW, feeType: FEES.LOW,
fee: FEES.LOW, fee: FEES.LOW,
@ -186,14 +186,14 @@ export class SendView extends PureComponent<Props, State> {
type='number' type='number'
onChange={this.handleChange('amount')} onChange={this.handleChange('amount')}
value={String(amount)} value={String(amount)}
placeholder='0.01' placeholder='ZEC 0.0'
step={0.01} step={0.01}
/> />
<InputLabelComponent value='To' /> <InputLabelComponent value='To' />
<InputComponent <InputComponent
onChange={this.handleChange('to')} onChange={this.handleChange('to')}
value={to} value={to}
placeholder='kjnasG86431nvtsa…ks345jbhbdsDGvds' placeholder='Enter Address'
/> />
<InputLabelComponent value='Memo' /> <InputLabelComponent value='Memo' />
<InputComponent <InputComponent
@ -243,14 +243,14 @@ export class SendView extends PureComponent<Props, State> {
<InfoCard> <InfoCard>
<InfoContent> <InfoContent>
<InfoCardLabel value='Available Funds:' /> <InfoCardLabel value='Available Funds:' />
<TextComponent value={zecBalance} size={1.125} isBold /> <TextComponent value={zecBalance} size={1.25} isBold />
<InfoCardUSD value={zecBalanceInUsd} /> <InfoCardUSD value={zecBalanceInUsd} size={0.84375} />
</InfoContent> </InfoContent>
<Divider opacity={0.5} /> <Divider opacity={0.5} />
<InfoContent> <InfoContent>
<InfoCardLabel value='Sending' /> <InfoCardLabel value='Sending' />
<TextComponent value={valueSent} size={1.125} isBold /> <TextComponent value={valueSent} size={1.25} isBold />
<InfoCardUSD value={valueSentInUsd} /> <InfoCardUSD value={valueSentInUsd} size={0.84375} />
</InfoContent> </InfoContent>
</InfoCard> </InfoCard>
<FormButton <FormButton