adjustment to last design
This commit is contained in:
parent
a17a4438b4
commit
fb362df582
3 changed files with 37 additions and 32 deletions
|
|
@ -15,7 +15,7 @@ angular.module('copayApp.controllers').controller('inputAmountController', funct
|
|||
unitToSatoshi = config.unitToSatoshi;
|
||||
satToUnit = 1 / unitToSatoshi;
|
||||
unitDecimals = config.unitDecimals;
|
||||
resetAmount();
|
||||
$scope.resetAmount();
|
||||
};
|
||||
|
||||
$scope.shareAddress = function(uri) {
|
||||
|
|
@ -79,7 +79,7 @@ angular.module('copayApp.controllers').controller('inputAmountController', funct
|
|||
|
||||
$scope.removeDigit = function() {
|
||||
if ($scope.amount.toString().length == 1) {
|
||||
resetAmount();
|
||||
$scope.resetAmount();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -88,14 +88,14 @@ angular.module('copayApp.controllers').controller('inputAmountController', funct
|
|||
checkFontSize();
|
||||
};
|
||||
|
||||
function resetAmount() {
|
||||
$scope.resetAmount = function() {
|
||||
$scope.amount = $scope.alternativeResult = $scope.amountResult = $scope.globalResult = '';
|
||||
checkFontSize();
|
||||
};
|
||||
|
||||
function processAmount(val) {
|
||||
if (!val) {
|
||||
resetAmount();
|
||||
$scope.resetAmount();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -99,8 +99,12 @@ h4.title a {
|
|||
}
|
||||
}
|
||||
|
||||
.small-font {
|
||||
font-size: 34px !important;
|
||||
.small-font-amount {
|
||||
font-size: 28px !important;
|
||||
}
|
||||
|
||||
.small-font-result {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
|
||||
.modal-content h4, .glidera h4, .coinbase h4 {
|
||||
|
|
@ -1585,7 +1589,7 @@ input.ng-invalid-match {
|
|||
text-align: center;
|
||||
padding-top: 10px;
|
||||
color: #fff;
|
||||
height: 150px;
|
||||
height: 125px;
|
||||
}
|
||||
|
||||
.alternative-amount {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue