mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Hide sidebar on add token
This commit is contained in:
parent
7c20011023
commit
3f1ae92bb7
@ -150,7 +150,10 @@ WalletView.prototype.render = function () {
|
|||||||
h(TokenList),
|
h(TokenList),
|
||||||
|
|
||||||
h('button.wallet-view__add-token-button', {
|
h('button.wallet-view__add-token-button', {
|
||||||
onClick: showAddTokenPage,
|
onClick: () => {
|
||||||
|
showAddTokenPage()
|
||||||
|
hideSidebar()
|
||||||
|
},
|
||||||
}, 'Add Token'),
|
}, 'Add Token'),
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
@ -153,7 +153,7 @@ $wallet-view-bg: $wild-sand;
|
|||||||
background: rgb(250, 250, 250);
|
background: rgb(250, 250, 250);
|
||||||
z-index: $sidebar-z-index;
|
z-index: $sidebar-z-index;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 57px;
|
top: 56px;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user