Fix Header auto grow logo & center align of user address
This commit is contained in:
parent
6c057fb976
commit
8f3fd161d0
|
@ -39,6 +39,7 @@ const styles = () => ({
|
|||
logo: {
|
||||
padding: `${sm} ${md}`,
|
||||
flexBasis: '95px',
|
||||
flexGrow: 0,
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ const ProviderInfo = ({
|
|||
<React.Fragment>
|
||||
<Identicon address={identiconAddress} diameter={30} />
|
||||
<Img className={classes.logo} src={logo} height={20} alt="Connection status" />
|
||||
<Col end="sm" middle="xs" layout="column" className={classes.account}>
|
||||
<Col start="sm" layout="column" className={classes.account}>
|
||||
<Paragraph size="sm" transform="capitalize" className={classes.network} noMargin weight="bold">{providerText}</Paragraph>
|
||||
<Paragraph size="sm" className={classes.address} noMargin color={color}>{cutAddress}</Paragraph>
|
||||
</Col>
|
||||
|
|
Loading…
Reference in New Issue