CryptoDonate: style form elements
This commit is contained in:
parent
acbfd7bcc3
commit
940af0dd85
2 changed files with 13 additions and 1 deletions
|
@ -53,7 +53,7 @@ export default class CryptoAddress extends ImmutablePureComponent {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{note && <div className='crypto-address__note'>{note}</div>}
|
{note && <div className='crypto-address__note'>{note}</div>}
|
||||||
<div className='crypto-address__address'>
|
<div className='crypto-address__address simple_form'>
|
||||||
<input ref={this.setInputRef} type='text' value={address} />
|
<input ref={this.setInputRef} type='text' value={address} />
|
||||||
<button className='crypto-address__copy' onClick={this.handleCopyClick}>
|
<button className='crypto-address__copy' onClick={this.handleCopyClick}>
|
||||||
<FormattedMessage id='crypto_donate.copy' defaultMessage='Copy' />
|
<FormattedMessage id='crypto_donate.copy' defaultMessage='Copy' />
|
||||||
|
|
|
@ -41,9 +41,21 @@
|
||||||
&__address {
|
&__address {
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
font-size: 14px !important;
|
||||||
|
border-radius: 4px 0 0 4px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
width: auto;
|
||||||
|
font-size: 14px;
|
||||||
|
margin: 0;
|
||||||
|
padding-bottom: 9px;
|
||||||
|
border-radius: 0 4px 4px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue