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:
parent
a1696f89a8
commit
53bb4bebb1
@ -22,6 +22,7 @@ TypedMessageRenderer.prototype.render = function () {
|
|||||||
border: 'none',
|
border: 'none',
|
||||||
background: 'white',
|
background: 'white',
|
||||||
padding: '3px',
|
padding: '3px',
|
||||||
|
overflow: 'scroll',
|
||||||
}, style)
|
}, style)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@ -34,7 +35,7 @@ TypedMessageRenderer.prototype.render = function () {
|
|||||||
function renderTypedData(values) {
|
function renderTypedData(values) {
|
||||||
return values.map(function (value) {
|
return values.map(function (value) {
|
||||||
return h('div', {}, [
|
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),
|
h('div', {}, value.value),
|
||||||
])
|
])
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user