aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-03 10:48:33 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-03 10:48:33 +0800
commit41250f9769d3224e0b42821058cd6445fa7efaca (patch)
tree78cfc3fd6f1d5ae9322de07410958cc83c4837fc /ui
parentdd4586ee84ea0e6a74ad4cd6b6f058169ddd9129 (diff)
downloadtangerine-wallet-browser-41250f9769d3224e0b42821058cd6445fa7efaca.tar
tangerine-wallet-browser-41250f9769d3224e0b42821058cd6445fa7efaca.tar.gz
tangerine-wallet-browser-41250f9769d3224e0b42821058cd6445fa7efaca.tar.bz2
tangerine-wallet-browser-41250f9769d3224e0b42821058cd6445fa7efaca.tar.lz
tangerine-wallet-browser-41250f9769d3224e0b42821058cd6445fa7efaca.tar.xz
tangerine-wallet-browser-41250f9769d3224e0b42821058cd6445fa7efaca.tar.zst
tangerine-wallet-browser-41250f9769d3224e0b42821058cd6445fa7efaca.zip
Adjust header spacing for 500px and 900px heights
Diffstat (limited to 'ui')
-rw-r--r--ui/app/app.js17
-rw-r--r--ui/app/main-container.js2
2 files changed, 5 insertions, 14 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 21eb44b8b..19d80a728 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -88,21 +88,11 @@ App.prototype.render = function () {
},
}, [
-
// app bar
this.renderAppBar(),
- // slideout - move to separate render func
+ // sidebar
this.renderSidebar(),
- // h('div.phone-visible', {} ,[
- // h(SlideoutMenu, {
- // isOpen: false,
- // }, [
- // h(WalletView, {
- // responsiveDisplayClassname: '.phone-visible',
- // }),
- // ]),
- // ])
// network dropdown
this.renderNetworkDropdown(),
@@ -113,7 +103,7 @@ App.prototype.render = function () {
loadingMessage: loadMessage,
}),
- // panel content
+ // content
this.renderPrimary(),
])
)
@@ -202,7 +192,7 @@ App.prototype.renderAppBar = function () {
return (
h('.full-width', {
- height: '38px',
+ style: {}
}, [
h('.app-header.flex-row.flex-space-between', {
@@ -210,6 +200,7 @@ App.prototype.renderAppBar = function () {
alignItems: 'center',
visibility: props.isUnlocked ? 'visible' : 'none',
background: '#EFEFEF', // $gallery
+ paddingTop: '1.5vh',
height: '12vh',
maxHeight: '60px',
position: 'relative',
diff --git a/ui/app/main-container.js b/ui/app/main-container.js
index 870b3e7f0..62a8bdb7b 100644
--- a/ui/app/main-container.js
+++ b/ui/app/main-container.js
@@ -17,7 +17,7 @@ MainContainer.prototype.render = function () {
return h('div', {
style: {
position: 'absolute',
- marginTop: '6vh',
+ marginTop: '35px',
width: '98%',
zIndex: 20,
boxShadow: '0 0 7px 0 rgba(0,0,0,0.08)',