aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/components/wallet-view.js5
-rw-r--r--ui/app/css/itcss/components/newui-sections.scss2
2 files changed, 5 insertions, 2 deletions
diff --git a/ui/app/components/wallet-view.js b/ui/app/components/wallet-view.js
index 215103396..9c11ca4a5 100644
--- a/ui/app/components/wallet-view.js
+++ b/ui/app/components/wallet-view.js
@@ -150,7 +150,10 @@ WalletView.prototype.render = function () {
h(TokenList),
h('button.wallet-view__add-token-button', {
- onClick: showAddTokenPage,
+ onClick: () => {
+ showAddTokenPage()
+ hideSidebar()
+ },
}, 'Add Token'),
])
}
diff --git a/ui/app/css/itcss/components/newui-sections.scss b/ui/app/css/itcss/components/newui-sections.scss
index d975c56b7..5c73de79b 100644
--- a/ui/app/css/itcss/components/newui-sections.scss
+++ b/ui/app/css/itcss/components/newui-sections.scss
@@ -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;