Merge pull request #325 from trezor/fix/adress-button-overlap

Fix condition for applying bigger padding in Input component
pull/329/head
Vladimir Volek 5 years ago committed by GitHub
commit f0855a413c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -183,7 +183,7 @@ class Input extends PureComponent {
autoComplete="off"
height={this.props.height}
trezorAction={this.props.trezorAction}
hasIcon={this.getIcon(this.props.state).length > 0}
hasIcon={this.props.icon || this.getIcon(this.props.state).length > 0}
ref={this.props.innerRef}
hasAddon={!!this.props.sideAddons}
type={this.props.type}

Loading…
Cancel
Save