Browse Source

Improved holdings table on mobile view

pull/2071/head
x1c0 2 years ago
committed by Thomas
parent
commit
f6ed896b99
  1. 1
      CHANGELOG.md
  2. 14
      libs/ui/src/lib/holdings-table/holdings-table.component.html

1
CHANGELOG.md

@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Extracted the symbol search to a dedicated component - Extracted the symbol search to a dedicated component
- Upgraded `prisma` from version `4.14.1` to `4.15.0` - Upgraded `prisma` from version `4.14.1` to `4.15.0`
- Improved holdings table on mobile view
## 1.280.1 - 2023-06-10 ## 1.280.1 - 2023-06-10

14
libs/ui/src/lib/holdings-table/holdings-table.component.html

@ -92,7 +92,8 @@
mat-header-cell mat-header-cell
mat-sort-header mat-sort-header
> >
<ng-container i18n>Allocation</ng-container> <span class="d-none d-sm-block" i18n>Allocation</span>
<span class="d-block d-sm-none" title="Allocation">%</span>
</th> </th>
<td *matCellDef="let element" class="px-1" mat-cell> <td *matCellDef="let element" class="px-1" mat-cell>
<div class="d-flex justify-content-end"> <div class="d-flex justify-content-end">
@ -108,17 +109,14 @@
<ng-container matColumnDef="performance"> <ng-container matColumnDef="performance">
<th <th
*matHeaderCellDef *matHeaderCellDef
class="d-none d-lg-table-cell px-1 justify-content-end" class="px-1 justify-content-end"
mat-header-cell mat-header-cell
mat-sort-header="netPerformancePercent" mat-sort-header="netPerformancePercent"
> >
<ng-container i18n>Performance</ng-container> <span class="d-none d-sm-block" i18n>Performance</span>
<span class="d-block d-sm-none" title="Performance">±</span>
</th> </th>
<td <td *matCellDef="let element" class="px-1" mat-cell>
*matCellDef="let element"
class="d-none d-lg-table-cell px-1"
mat-cell
>
<div class="d-flex justify-content-end"> <div class="d-flex justify-content-end">
<gf-value <gf-value
[colorizeSign]="true" [colorizeSign]="true"

Loading…
Cancel
Save