aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-10-25 07:55:02 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-25 07:55:02 +0800
commit3f1ae92bb7d4ca4629995f32dc03f37e6460a864 (patch)
tree1ad1b69bb020791b0536e517c1db73be90f28bdc
parent7c2001102311d8e35f01d39ede9d5ac00e635006 (diff)
downloadtangerine-wallet-browser-3f1ae92bb7d4ca4629995f32dc03f37e6460a864.tar
tangerine-wallet-browser-3f1ae92bb7d4ca4629995f32dc03f37e6460a864.tar.gz
tangerine-wallet-browser-3f1ae92bb7d4ca4629995f32dc03f37e6460a864.tar.bz2
tangerine-wallet-browser-3f1ae92bb7d4ca4629995f32dc03f37e6460a864.tar.lz
tangerine-wallet-browser-3f1ae92bb7d4ca4629995f32dc03f37e6460a864.tar.xz
tangerine-wallet-browser-3f1ae92bb7d4ca4629995f32dc03f37e6460a864.tar.zst
tangerine-wallet-browser-3f1ae92bb7d4ca4629995f32dc03f37e6460a864.zip
Hide sidebar on add token
-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;