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() { render() {
return ( return (
<input <div className="form-field form-field--address">
className="input-copyable" <input
type="text" className="input-copyable"
ref={input => { type="text"
this._inputElem = input; ref={input => {
}} this._inputElem = input;
onFocus={() => { }}
this._inputElem.select(); onFocus={() => {
}} this._inputElem.select();
style={addressStyle} }}
readOnly="readonly" style={addressStyle}
value={this.props.address || ""} readOnly="readonly"
/> value={this.props.address || ""}
/>
</div>
); );
} }
} }

View file

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