Browse Source

Merge 5d2b4b1c52 into 5689326b12

pull/6947/merge
Benny Powers 9 hours ago
committed by GitHub
parent
commit
46498a7e97
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      apps/client/src/app/components/home-overview/home-overview.component.ts
  2. 7
      apps/client/src/app/components/portfolio-performance/portfolio-performance.component.scss

2
apps/client/src/app/components/home-overview/home-overview.component.ts

@ -143,7 +143,7 @@ export class GfHomeOverviewComponent implements OnInit {
this.precision.set(2);
if (
this.deviceType() === 'mobile' &&
window.matchMedia('(max-width: 575.98px)').matches &&
performance.currentValueInBaseCurrency >=
NUMERICAL_PRECISION_THRESHOLD_6_FIGURES
) {

7
apps/client/src/app/components/portfolio-performance/portfolio-performance.component.scss

@ -20,4 +20,11 @@
font-variant-numeric: tabular-nums;
}
}
@media (max-width: 575.98px) {
.currency-container,
.status-container {
min-width: 0;
}
}
}

Loading…
Cancel
Save