Adjust Inputaddress KeyPair styling (sizing, movement) (#3800)

This commit is contained in:
Jaco Greeff 2020-10-01 14:15:21 +02:00 committed by GitHub
parent c480d7d689
commit 880c13ff80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View File

@ -17,7 +17,7 @@ interface Props {
function KeyPair ({ address, className = '' }: Props): React.ReactElement<Props> {
return (
<div className={['ui--KeyPair', className].join(' ')}>
<div className={`ui--KeyPair ${className}`}>
<IdentityIcon
className='icon'
value={address}
@ -52,7 +52,7 @@ export default React.memo(styled(KeyPair)`
> .icon {
position: absolute;
top: -3px;
top: -5px;
left: 0;
}

View File

@ -289,9 +289,10 @@ const ExportedComponent = withMulti(
left: -2.75rem;
top: -1.05rem;
svg {
height: 32px;
width: 32px;
> div,
> svg {
height: 32px !important;
width: 32px !important;
}
}