From a6e0eef8f4280041380a7c462069b2c205999130 Mon Sep 17 00:00:00 2001 From: brunobar79 Date: Thu, 19 Jul 2018 00:14:13 -0400 Subject: [PATCH] fix unsupported browser view --- .../pages/create-account/connect-hardware/connect-screen.js | 2 +- ui/app/css/itcss/components/new-account.scss | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/app/components/pages/create-account/connect-hardware/connect-screen.js b/ui/app/components/pages/create-account/connect-hardware/connect-screen.js index 55d2eadce..bf4cf08f9 100644 --- a/ui/app/components/pages/create-account/connect-hardware/connect-screen.js +++ b/ui/app/components/pages/create-account/connect-hardware/connect-screen.js @@ -9,7 +9,7 @@ class ConnectScreen extends Component { renderUnsupportedBrowser () { return ( - h('div.new-account-connect-form', {}, [ + h('div.new-account-connect-form.unsupported-browser', {}, [ h('div.hw-connect', [ h('h3.hw-connect__title', {}, this.context.t('browserNotSupported')), h('p.hw-connect__msg', {}, this.context.t('chromeRequiredForTrezor')), diff --git a/ui/app/css/itcss/components/new-account.scss b/ui/app/css/itcss/components/new-account.scss index 8743d540f..29faacc1b 100644 --- a/ui/app/css/itcss/components/new-account.scss +++ b/ui/app/css/itcss/components/new-account.scss @@ -63,7 +63,7 @@ display: flex; flex-flow: column; align-items: center; - padding: 0 30px; + padding: 0 30px 30px; &__select-section { display: flex; @@ -379,6 +379,10 @@ height: 710px; overflow: auto; + &.unsupported-browser { + height: 210px; + } + &__buttons { margin-top: 39px; display: flex;