aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-06-17 08:11:13 +0800
committerDan Finlay <dan@danfinlay.com>2016-06-17 08:11:13 +0800
commit69f628dbe2aea296cde8bf03a40aeef9983030b2 (patch)
treeea9c22ed9eb827531dde804cb26f27f9123de913 /ui
parent79999109e20416c187bca79ed7e0a86377972144 (diff)
downloadtangerine-wallet-browser-69f628dbe2aea296cde8bf03a40aeef9983030b2.tar
tangerine-wallet-browser-69f628dbe2aea296cde8bf03a40aeef9983030b2.tar.gz
tangerine-wallet-browser-69f628dbe2aea296cde8bf03a40aeef9983030b2.tar.bz2
tangerine-wallet-browser-69f628dbe2aea296cde8bf03a40aeef9983030b2.tar.lz
tangerine-wallet-browser-69f628dbe2aea296cde8bf03a40aeef9983030b2.tar.xz
tangerine-wallet-browser-69f628dbe2aea296cde8bf03a40aeef9983030b2.tar.zst
tangerine-wallet-browser-69f628dbe2aea296cde8bf03a40aeef9983030b2.zip
Preserve disclaimer line breaks
Diffstat (limited to 'ui')
-rw-r--r--ui/app/first-time/disclaimer.js4
1 files 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',
}