Show home page when metafox is clicked

feature/default_network_editable
Chi Kei Chan 7 years ago
parent 7c10cda8a4
commit 8d3a317b91
  1. 10
      ui/app/app.js
  2. 6
      ui/app/css/itcss/components/header.scss

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

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

Loading…
Cancel
Save