aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-01-10 08:45:39 +0800
committerChi Kei Chan <chikeichan@gmail.com>2018-01-13 05:39:26 +0800
commitbdcee058dc278c46c828f376476f121417481385 (patch)
tree0e84049acea9f14c82d0c02763935e3020486da1 /ui/app
parent5c1dcf3e9bdb317dd8b42aadb18657eb4bfa2e0f (diff)
downloadtangerine-wallet-browser-bdcee058dc278c46c828f376476f121417481385.tar
tangerine-wallet-browser-bdcee058dc278c46c828f376476f121417481385.tar.gz
tangerine-wallet-browser-bdcee058dc278c46c828f376476f121417481385.tar.bz2
tangerine-wallet-browser-bdcee058dc278c46c828f376476f121417481385.tar.lz
tangerine-wallet-browser-bdcee058dc278c46c828f376476f121417481385.tar.xz
tangerine-wallet-browser-bdcee058dc278c46c828f376476f121417481385.tar.zst
tangerine-wallet-browser-bdcee058dc278c46c828f376476f121417481385.zip
Fix styling in initialization
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/app.js6
-rw-r--r--ui/app/css/itcss/components/header.scss13
2 files changed, 14 insertions, 5 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index c6fce0e47..3fca8ccc1 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -3,6 +3,8 @@ const Component = require('react').Component
const connect = require('react-redux').connect
const h = require('react-hyperscript')
const actions = require('./actions')
+const classnames = require('classnames')
+
// mascara
const MascaraFirstTime = require('../../mascara/src/app/first-time').default
const MascaraBuyEtherScreen = require('../../mascara/src/app/first-time/buy-ether-screen').default
@@ -243,7 +245,9 @@ App.prototype.renderAppBar = function () {
}, [
h('.app-header.flex-row.flex-space-between', {
- style: {},
+ className: classnames({
+ 'app-header--initialized': !isOnboarding,
+ }),
}, [
h('div.app-header-contents', {}, [
h('div.left-menu-wrapper', {
diff --git a/ui/app/css/itcss/components/header.scss b/ui/app/css/itcss/components/header.scss
index a6332f819..e27444084 100644
--- a/ui/app/css/itcss/components/header.scss
+++ b/ui/app/css/itcss/components/header.scss
@@ -17,7 +17,16 @@
@media screen and (min-width: 576px) {
height: 75px;
justify-content: center;
+ }
+
+ .metafox-icon {
+ cursor: pointer;
+ }
+}
+.app-header--initialized {
+
+ @media screen and (min-width: 576px) {
&::after {
content: '';
position: absolute;
@@ -27,10 +36,6 @@
bottom: -32px;
}
}
-
- .metafox-icon {
- cursor: pointer;
- }
}
.app-header-contents {