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: {
|
logo: {
|
||||||
padding: `${sm} ${md}`,
|
padding: `${sm} ${md}`,
|
||||||
flexBasis: '95px',
|
flexBasis: '95px',
|
||||||
|
flexGrow: 0,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ const ProviderInfo = ({
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<Identicon address={identiconAddress} diameter={30} />
|
<Identicon address={identiconAddress} diameter={30} />
|
||||||
<Img className={classes.logo} src={logo} height={20} alt="Connection status" />
|
<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" transform="capitalize" className={classes.network} noMargin weight="bold">{providerText}</Paragraph>
|
||||||
<Paragraph size="sm" className={classes.address} noMargin color={color}>{cutAddress}</Paragraph>
|
<Paragraph size="sm" className={classes.address} noMargin color={color}>{cutAddress}</Paragraph>
|
||||||
</Col>
|
</Col>
|
||||||
|
|
Loading…
Reference in New Issue