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>
|
||||
{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} />
|
||||
<button className='crypto-address__copy' onClick={this.handleCopyClick}>
|
||||
<FormattedMessage id='crypto_donate.copy' defaultMessage='Copy' />
|
||||
|
|
|
@ -41,9 +41,21 @@
|
|||
&__address {
|
||||
margin-top: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
input {
|
||||
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