From cccf162ac7d2f25a7dce1ba90b47e434858bb0d8 Mon Sep 17 00:00:00 2001 From: Kadir Sekha Date: Wed, 27 Dec 2017 22:16:35 +0000 Subject: [PATCH] move stuff on amount screen so native keyboard can be used on mobile --- src/sass/views/amount.scss | 4 ++ www/views/amount.html | 83 ++++++++++++++++++++++++-------------- 2 files changed, 56 insertions(+), 31 deletions(-) diff --git a/src/sass/views/amount.scss b/src/sass/views/amount.scss index bd45e524a..d9734727a 100644 --- a/src/sass/views/amount.scss +++ b/src/sass/views/amount.scss @@ -44,6 +44,10 @@ position: absolute; top: 10px; } + .amount span input { + display: inline; + width: 120px; + } .amount-pane-recipient { position: absolute; top: 95px; diff --git a/www/views/amount.html b/www/views/amount.html index 37f4b8cfe..9acd2bec1 100644 --- a/www/views/amount.html +++ b/www/views/amount.html @@ -35,41 +35,62 @@ -
- -
-
- Amount +
+
+
+ Amount +
+
+
+ Minimum amount: {{minShapeshiftAmount}}
+ Maximum amount: {{maxShapeshiftAmount}}
+
+
+
+ {{amountModel.amount || "0.00" }} + {{unit}} +
+
+
{{globalResult}} {{unit}}
+
≈ {{alternativeAmount || '0.00'}} {{alternativeUnit}}
+
-
+
+ Amount
+
+ Minimum amount: {{minShapeshiftAmount}}
+ Maximum amount: {{maxShapeshiftAmount}}
+
+
+ + + {{unit}} + + {{globalResult}} {{unit}} + ≈ {{alternativeAmount || '0.00'}} {{alternativeUnit}} +
+
+ + + +
+
@@ -111,8 +132,8 @@
- +