From d7c36cbe4fe6f9de9e1e838c3bc61d2b1967610f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Stanislav?= Date: Mon, 27 Feb 2017 16:38:05 +0100 Subject: [PATCH] Ctrl+a to select passphrase on registration #15 --- src/app/components/login/save.jade | 2 +- src/app/components/login/save.less | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/app/components/login/save.jade b/src/app/components/login/save.jade index f8a570b96..61181b987 100644 --- a/src/app/components/login/save.jade +++ b/src/app/components/login/save.jade @@ -8,7 +8,7 @@ md-dialog.dialog-save(aria-label='Save your passphrase in a safe place!') md-dialog-content .md-dialog-content div(ng-if="!$ctrl.enter") - p.passphrase(ng-bind='$ctrl.passphrase') + textarea.passphrase(ng-bind='$ctrl.passphrase', autofocus) div(ng-if="$ctrl.enter") p.passphrase span {{ $ctrl.pre }} diff --git a/src/app/components/login/save.less b/src/app/components/login/save.less index 1e2b27159..585de070e 100644 --- a/src/app/components/login/save.less +++ b/src/app/components/login/save.less @@ -3,6 +3,7 @@ .passphrase { font-size: 150%; margin-bottom: 30px; + border: 0; } .missing { @@ -11,3 +12,11 @@ color: rgb(2,136,209); } } + +@media (min-width : 850px) { + .dialog-save { + .passphrase { + width: 800px; + } + } +}