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

Move account balance down a row. Adjusted positioning of buttons.

This commit is contained in:
Kevin Serrano 2016-07-05 12:04:15 -07:00
parent 76c473538a
commit 3ca20bd8a3

View File

@ -56,7 +56,7 @@ AccountDetailScreen.prototype.render = function () {
// header - identicon + nav // header - identicon + nav
h('div', { h('div', {
style: { style: {
marginTop: '15px', marginTop: '20px',
display: 'flex', display: 'flex',
justifyContent: 'flex-start', justifyContent: 'flex-start',
alignItems: 'flex-start', alignItems: 'flex-start',
@ -120,6 +120,8 @@ AccountDetailScreen.prototype.render = function () {
h('.flex-row', { h('.flex-row', {
style: { style: {
justifyContent: 'flex-end', justifyContent: 'flex-end',
position: 'relative',
bottom: '15px',
}, },
}, [ }, [
h(CopyButton, { h(CopyButton, {
@ -150,6 +152,8 @@ AccountDetailScreen.prototype.render = function () {
// account ballence // account ballence
]),
]),
h('.flex-row', { h('.flex-row', {
style: { style: {
justifyContent: 'space-between', justifyContent: 'space-between',
@ -161,6 +165,7 @@ AccountDetailScreen.prototype.render = function () {
value: account && account.balance, value: account && account.balance,
style: { style: {
lineHeight: '7px', lineHeight: '7px',
marginTop: '10px',
}, },
}), }),
@ -173,9 +178,6 @@ AccountDetailScreen.prototype.render = function () {
}, 'SEND'), }, 'SEND'),
]), ]),
]),
]),
]), ]),
// subview (tx history, pk export confirm) // subview (tx history, pk export confirm)