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

ui - accunt-detail - fix style attribute

This commit is contained in:
kumavis 2016-05-13 15:12:30 -07:00
parent e0280b0db8
commit 82db0afb30

View File

@ -45,7 +45,7 @@ AccountDetailScreen.prototype.render = function() {
h('.account-detail-section.flex-column.flex-grow', { h('.account-detail-section.flex-column.flex-grow', {
style: { style: {
width: 330, width: 330,
'margin-top': 28, marginTop: 28,
}, },
}, [ }, [
@ -75,20 +75,20 @@ AccountDetailScreen.prototype.render = function() {
h('h2.font-medium.color-forest.flex-center', { h('h2.font-medium.color-forest.flex-center', {
style: { style: {
'padding-top': 8, paddingTop: 8,
'margin-bottom': 32, marginBottom: 32,
}, },
}, identity && identity.name), }, identity && identity.name),
h('.flex-row.flex-space-between', { h('.flex-row.flex-space-between', {
style: { style: {
'margin-bottom': 16, marginBottom: 16,
}, },
}, [ }, [
h('div', { h('div', {
style: { style: {
'line-height': 16, lineHeight: '16px',
}, },
}, addressSummary(selected)), }, addressSummary(selected)),
@ -110,7 +110,7 @@ AccountDetailScreen.prototype.render = function() {
h('div', { h('div', {
style: { style: {
'line-height': 50, lineHeight: '50px',
}, },
}, formatBalance(account.balance)), }, formatBalance(account.balance)),
@ -121,7 +121,7 @@ AccountDetailScreen.prototype.render = function() {
]), ]),
h(ReactCSSTransitionGroup, { h(ReactCSSTransitionGroup, {
transitionName: "main", transitionName: 'main',
transitionEnterTimeout: 300, transitionEnterTimeout: 300,
transitionLeaveTimeout: 300, transitionLeaveTimeout: 300,
}, [ }, [