fix wallet address input styles
This commit is contained in:
parent
f529d29a77
commit
fc1be7c033
2 changed files with 19 additions and 13 deletions
|
@ -152,19 +152,21 @@ export class Address extends React.PureComponent {
|
|||
|
||||
render() {
|
||||
return (
|
||||
<input
|
||||
className="input-copyable"
|
||||
type="text"
|
||||
ref={input => {
|
||||
this._inputElem = input;
|
||||
}}
|
||||
onFocus={() => {
|
||||
this._inputElem.select();
|
||||
}}
|
||||
style={addressStyle}
|
||||
readOnly="readonly"
|
||||
value={this.props.address || ""}
|
||||
/>
|
||||
<div className="form-field form-field--address">
|
||||
<input
|
||||
className="input-copyable"
|
||||
type="text"
|
||||
ref={input => {
|
||||
this._inputElem = input;
|
||||
}}
|
||||
onFocus={() => {
|
||||
this._inputElem.select();
|
||||
}}
|
||||
style={addressStyle}
|
||||
readOnly="readonly"
|
||||
value={this.props.address || ""}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -119,6 +119,10 @@
|
|||
border: var(--input-border-size) solid var(--input-border-color);
|
||||
}
|
||||
}
|
||||
.form-field--address {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.form-field--SimpleMDE {
|
||||
display: block;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue