mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
added extra margin for unlocked state in full view in header (#19701)
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
This commit is contained in:
parent
6f4584315d
commit
76cafe0a83
@ -113,6 +113,7 @@ import { SEND_STAGES } from '../../ducks/send';
|
||||
import DeprecatedTestNetworks from '../../components/ui/deprecated-test-networks/deprecated-test-networks';
|
||||
import NewNetworkInfo from '../../components/ui/new-network-info/new-network-info';
|
||||
import { ThemeType } from '../../../shared/constants/preferences';
|
||||
import { Box } from '../../components/component-library';
|
||||
|
||||
export default class Routes extends Component {
|
||||
static propTypes = {
|
||||
@ -561,11 +562,14 @@ export default class Routes extends Component {
|
||||
{accountDetailsAddress ? (
|
||||
<AccountDetails address={accountDetailsAddress} />
|
||||
) : null}
|
||||
<div className="main-container-wrapper">
|
||||
<Box
|
||||
className="main-container-wrapper"
|
||||
paddingTop={isUnlocked && [0, 4]}
|
||||
>
|
||||
{isLoading ? <Loading loadingMessage={loadMessage} /> : null}
|
||||
{!isLoading && isNetworkLoading ? <LoadingNetwork /> : null}
|
||||
{this.renderRoutes()}
|
||||
</div>
|
||||
</Box>
|
||||
{isUnlocked ? <Alerts history={this.props.history} /> : null}
|
||||
</div>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user