From 77908e1181a8fd043c1e9bdc3807b9dd8a0d3ab7 Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Thu, 3 Aug 2017 16:30:57 -0700 Subject: [PATCH] Fix wonky widths for notices. --- ui/app/app.js | 2 +- ui/app/components/notice.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/app/app.js b/ui/app/app.js index 297a2f621..e23caa72b 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -92,7 +92,7 @@ App.prototype.render = function () { // panel content h('.app-primary' + (transForward ? '.from-right' : '.from-left'), { style: { - maxWidth: '850px', + width: '100%', }, }, [ this.renderPrimary(), diff --git a/ui/app/components/notice.js b/ui/app/components/notice.js index d9f0067cd..636e82ba1 100644 --- a/ui/app/components/notice.js +++ b/ui/app/components/notice.js @@ -19,7 +19,11 @@ Notice.prototype.render = function () { const disabled = state.disclaimerDisabled return ( - h('.flex-column.flex-center.flex-grow', [ + h('.flex-column.flex-center.flex-grow', { + style: { + width: '100%', + }, + }, [ h('h3.flex-center.text-transform-uppercase.terms-header', { style: { background: '#EBEBEB',