fix wallet address input styles

This commit is contained in:
btzr-io 2017-10-15 17:13:32 -06:00 committed by Jeremy Kauffman
parent f529d29a77
commit fc1be7c033
2 changed files with 19 additions and 13 deletions

View file

@ -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>
);
}
}

View file

@ -119,6 +119,10 @@
border: var(--input-border-size) solid var(--input-border-color);
}
}
.form-field--address {
width: 100%;
}
.form-field--SimpleMDE {
display: block;
}