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

Fix info page formatting

This commit is contained in:
Dan Finlay 2017-07-27 13:57:01 -07:00
parent 21bde25780
commit 1d9fea8654

View File

@ -20,7 +20,11 @@ InfoScreen.prototype.render = function () {
const version = global.platform.getVersion() const version = global.platform.getVersion()
return ( return (
h('.flex-column.flex-grow', [ h('.flex-column.flex-grow', {
style: {
maxWidth: '400px',
},
}, [
// subtitle and nav // subtitle and nav
h('.section-title.flex-row.flex-center', [ h('.section-title.flex-row.flex-center', [
@ -103,6 +107,7 @@ InfoScreen.prototype.render = function () {
target: '_blank', target: '_blank',
}, 'Need Help? Read our FAQ!'), }, 'Need Help? Read our FAQ!'),
]), ]),
h('div', [ h('div', [
h('a', { h('a', {
href: 'https://metamask.io/', href: 'https://metamask.io/',
@ -120,6 +125,7 @@ InfoScreen.prototype.render = function () {
h('div.info', 'Visit our web site'), h('div.info', 'Visit our web site'),
]), ]),
]), ]),
h('div.fa.fa-slack', [ h('div.fa.fa-slack', [
h('a.info', { h('a.info', {
href: 'http://slack.metamask.io', href: 'http://slack.metamask.io',
@ -127,11 +133,13 @@ InfoScreen.prototype.render = function () {
}, 'Join the conversation on Slack'), }, 'Join the conversation on Slack'),
]), ]),
h('div.fa.fa-twitter', [ h('div', [
h('.fa.fa-twitter', [
h('a.info', { h('a.info', {
href: 'https://twitter.com/metamask_io', href: 'https://twitter.com/metamask_io',
target: '_blank', target: '_blank',
}, 'Follow us on Twitter'), }, 'Follow us on Twitter'),
])
]), ]),
h('div.fa.fa-envelope', [ h('div.fa.fa-envelope', [