1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Show home page when metafox is clicked

This commit is contained in:
Chi Kei Chan 2017-10-25 00:34:12 -07:00
parent 7c10cda8a4
commit 8d3a317b91
2 changed files with 12 additions and 4 deletions

View File

@ -253,12 +253,14 @@ App.prototype.renderAppBar = function () {
}, [
h('div.app-header-contents', {}, [
h('div.left-menu-wrapper', {
style: {},
onClick: () => {
props.dispatch(actions.backToAccountDetail(props.activeAddress))
},
}, [
// mini logo
h('img', {
height: 24,
width: 24,
h('img.metafox-icon', {
height: 29,
width: 29,
src: '/images/icon-128.png',
}),

View File

@ -27,6 +27,10 @@
bottom: -32px;
}
}
.metafox-icon {
cursor: pointer;
}
}
.app-header-contents {
@ -58,6 +62,7 @@
text-transform: uppercase;
font-weight: 400;
color: #22232c; // $shark
line-height: 29px;
@media screen and (max-width: 575px) {
display: none;
@ -81,6 +86,7 @@ h2.page-subtitle {
display: flex;
flex-direction: row;
align-items: center;
cursor: pointer;
}
.header__right-actions {