aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-19 12:14:13 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-19 12:14:13 +0800
commita6e0eef8f4280041380a7c462069b2c205999130 (patch)
tree87acdb674cd1bd54cb1ca29a3980e608799fb9ff
parent086ab6e1e1aa715b7a7918d10b8c1afcaeda38c7 (diff)
downloaddexon-wallet-a6e0eef8f4280041380a7c462069b2c205999130.tar.gz
dexon-wallet-a6e0eef8f4280041380a7c462069b2c205999130.tar.zst
dexon-wallet-a6e0eef8f4280041380a7c462069b2c205999130.zip
fix unsupported browser view
-rw-r--r--ui/app/components/pages/create-account/connect-hardware/connect-screen.js2
-rw-r--r--ui/app/css/itcss/components/new-account.scss6
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 55d2eadc..bf4cf08f 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 8743d540..29faacc1 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;