mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #7864 from cmgustavo/v4-43
[v4] WalletDetails: Align note to end
This commit is contained in:
commit
f114ac7a9d
|
@ -147,7 +147,9 @@
|
|||
<div class="action" *ngIf="tx.confirmations == 0 && tx.action == 'received'">{{'Receiving' | translate}}</div>
|
||||
<div class="action" *ngIf="tx.confirmations > 0">{{tx.action}}</div>
|
||||
<ion-note item-end>
|
||||
<div class="amount" [ngClass]="{'received': tx.action == 'received'}">{{tx.amount | satToUnit: wallet.coin}}</div>
|
||||
<div class="amount">
|
||||
<span [ngClass]="{'received': tx.action == 'received'}">{{tx.amount | satToUnit: wallet.coin}}</span>
|
||||
</div>
|
||||
<div class="date">
|
||||
<span *ngIf="tx.time && createdWithinPastDay(tx.time * 1000)">{{tx.time * 1000 | amTimeAgo}}</span>
|
||||
<span *ngIf="tx.time && !createdWithinPastDay(tx.time * 1000)">{{tx.time * 1000 | amDateFormat:'MMM D, YYYY'}}</span>
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
page-wallet-details {
|
||||
.received {
|
||||
color: color($colors, primary) !important;
|
||||
}
|
||||
.balance-card {
|
||||
background: color($colors, primary);
|
||||
}
|
||||
|
@ -46,8 +43,14 @@ page-wallet-details {
|
|||
}
|
||||
.action {
|
||||
}
|
||||
ion-note {
|
||||
text-align: end;
|
||||
}
|
||||
.amount {
|
||||
color: color($colors, dark);
|
||||
.received {
|
||||
color: color($colors, primary);
|
||||
}
|
||||
}
|
||||
.date {
|
||||
font-size: 12.5px;
|
||||
|
|
Loading…
Reference in New Issue