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

More appropriate styling

This commit is contained in:
Sergey Ukustov 2017-10-07 23:25:33 +03:00
parent a1696f89a8
commit 53bb4bebb1

View File

@ -22,6 +22,7 @@ TypedMessageRenderer.prototype.render = function () {
border: 'none',
background: 'white',
padding: '3px',
overflow: 'scroll',
}, style)
return (
@ -34,7 +35,7 @@ TypedMessageRenderer.prototype.render = function () {
function renderTypedData(values) {
return values.map(function (value) {
return h('div', {}, [
h('strong', {style: {display: 'block', fontWeight: 'bold', textTransform: 'capitalize'}}, String(value.name) + ':'),
h('strong', {style: {display: 'block', fontWeight: 'bold'}}, String(value.name) + ':'),
h('div', {}, value.value),
])
})