mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Preserve disclaimer line breaks
This commit is contained in:
parent
79999109e2
commit
69f628dbe2
@ -6,7 +6,6 @@ const actions = require('../actions')
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
const disclaimer = fs.readFileSync(path.join(__dirname, 'disclaimer.txt')).toString()
|
||||
|
||||
module.exports = connect(mapStateToProps)(DisclaimerScreen)
|
||||
|
||||
function mapStateToProps(state) {
|
||||
@ -38,9 +37,10 @@ DisclaimerScreen.prototype.render = function() {
|
||||
|
||||
h('div', {
|
||||
style: {
|
||||
whiteSpace: 'pre-line',
|
||||
background: 'rgb(235, 235, 235)',
|
||||
height: '336px',
|
||||
|
||||
padding: '6px',
|
||||
width: '80%',
|
||||
overflowY: 'scroll',
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user