1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-28 18:08:08 +00:00

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

Fix condition for applying bigger padding in Input component
This commit is contained in:
Vladimir Volek 2019-01-10 17:09:34 +01:00 committed by GitHub
commit f0855a413c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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