1
0
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:
Chi Kei Chan 2017-10-24 16:55:02 -07:00
parent 7c20011023
commit 3f1ae92bb7
2 changed files with 5 additions and 2 deletions

View File

@ -150,7 +150,10 @@ WalletView.prototype.render = function () {
h(TokenList),
h('button.wallet-view__add-token-button', {
onClick: showAddTokenPage,
onClick: () => {
showAddTokenPage()
hideSidebar()
},
}, 'Add Token'),
])
}

View File

@ -153,7 +153,7 @@ $wallet-view-bg: $wild-sand;
background: rgb(250, 250, 250);
z-index: $sidebar-z-index;
position: fixed;
top: 57px;
top: 56px;
left: 0;
right: 0;
bottom: 0;