From 69f628dbe2aea296cde8bf03a40aeef9983030b2 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Thu, 16 Jun 2016 17:11:13 -0700 Subject: [PATCH] Preserve disclaimer line breaks --- ui/app/first-time/disclaimer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/first-time/disclaimer.js b/ui/app/first-time/disclaimer.js index 76632077d..fe138c93b 100644 --- a/ui/app/first-time/disclaimer.js +++ b/ui/app/first-time/disclaimer.js @@ -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', }