Browse Source

Add value

pull/1286/head
Thomas 3 years ago
parent
commit
7d7cab5746
  1. 12
      apps/client/src/app/pages/portfolio/allocations/allocations-page.html
  2. 1
      apps/client/src/app/pages/portfolio/allocations/allocations-page.scss

12
apps/client/src/app/pages/portfolio/allocations/allocations-page.html

@ -13,8 +13,16 @@
<div class="row">
<div class="col">
<mat-card class="mb-3">
<mat-card-header>
<mat-card-title i18n>Proportion of Net Worth</mat-card-title>
<mat-card-header class="overflow-hidden w-100">
<mat-card-title class="text-truncate" i18n
>Proportion of Net Worth</mat-card-title
>
<gf-value
class="align-items-end flex-grow-1 ml-2"
size="medium"
[isPercent]="true"
[value]="isLoading ? undefined : portfolioDetails?.filteredValueInPercentage"
></gf-value>
</mat-card-header>
<mat-card-content>
<mat-progress-bar

1
apps/client/src/app/pages/portfolio/allocations/allocations-page.scss

@ -20,6 +20,7 @@
::ng-deep {
.mat-card-header-text {
flex: 1 1 auto;
overflow: hidden;
}
}

Loading…
Cancel
Save