Adjust header spacing for 500px and 900px heights

feature/default_network_editable
sdtsui 7 years ago
parent dd4586ee84
commit 41250f9769
  1. 17
      ui/app/app.js
  2. 2
      ui/app/main-container.js

@ -88,21 +88,11 @@ App.prototype.render = function () {
}, },
}, [ }, [
// app bar // app bar
this.renderAppBar(), this.renderAppBar(),
// slideout - move to separate render func // sidebar
this.renderSidebar(), this.renderSidebar(),
// h('div.phone-visible', {} ,[
// h(SlideoutMenu, {
// isOpen: false,
// }, [
// h(WalletView, {
// responsiveDisplayClassname: '.phone-visible',
// }),
// ]),
// ])
// network dropdown // network dropdown
this.renderNetworkDropdown(), this.renderNetworkDropdown(),
@ -113,7 +103,7 @@ App.prototype.render = function () {
loadingMessage: loadMessage, loadingMessage: loadMessage,
}), }),
// panel content // content
this.renderPrimary(), this.renderPrimary(),
]) ])
) )
@ -202,7 +192,7 @@ App.prototype.renderAppBar = function () {
return ( return (
h('.full-width', { h('.full-width', {
height: '38px', style: {}
}, [ }, [
h('.app-header.flex-row.flex-space-between', { h('.app-header.flex-row.flex-space-between', {
@ -210,6 +200,7 @@ App.prototype.renderAppBar = function () {
alignItems: 'center', alignItems: 'center',
visibility: props.isUnlocked ? 'visible' : 'none', visibility: props.isUnlocked ? 'visible' : 'none',
background: '#EFEFEF', // $gallery background: '#EFEFEF', // $gallery
paddingTop: '1.5vh',
height: '12vh', height: '12vh',
maxHeight: '60px', maxHeight: '60px',
position: 'relative', position: 'relative',

@ -17,7 +17,7 @@ MainContainer.prototype.render = function () {
return h('div', { return h('div', {
style: { style: {
position: 'absolute', position: 'absolute',
marginTop: '6vh', marginTop: '35px',
width: '98%', width: '98%',
zIndex: 20, zIndex: 20,
boxShadow: '0 0 7px 0 rgba(0,0,0,0.08)', boxShadow: '0 0 7px 0 rgba(0,0,0,0.08)',

Loading…
Cancel
Save