mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
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() {
|
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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue