Feature/improve alignment in portfolio performance component (#2867)
* Improve alignment * Update changelog
This commit is contained in:
parent
c418e75139
commit
165ca94f5b
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Improved the alignment in the portfolio performance chart
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Fixed the currency in the error log of the exchange rate data service
|
- Fixed the currency in the error log of the exchange rate data service
|
||||||
|
@ -1,15 +1,17 @@
|
|||||||
<div class="container p-0">
|
<div class="container p-0">
|
||||||
<div class="no-gutters row">
|
<div class="no-gutters row">
|
||||||
@if (errors?.length > 0 && !isLoading) {
|
<div
|
||||||
<div
|
class="status-container text-muted text-right"
|
||||||
class="flex-grow-1 status text-muted text-right"
|
(click)="onShowErrors()"
|
||||||
i18n-title
|
>
|
||||||
title="Oops! Our data provider partner is experiencing the hiccups."
|
@if (errors?.length > 0 && !isLoading) {
|
||||||
(click)="onShowErrors()"
|
<ion-icon
|
||||||
>
|
i18n-title
|
||||||
<ion-icon name="time-outline" />
|
name="time-outline"
|
||||||
</div>
|
title="Oops! Our data provider partner is experiencing the hiccups."
|
||||||
}
|
/>
|
||||||
|
}
|
||||||
|
</div>
|
||||||
<div *ngIf="isLoading" class="align-items-center d-flex">
|
<div *ngIf="isLoading" class="align-items-center d-flex">
|
||||||
<ngx-skeleton-loader
|
<ngx-skeleton-loader
|
||||||
animation="pulse"
|
animation="pulse"
|
||||||
@ -30,7 +32,7 @@
|
|||||||
>
|
>
|
||||||
<span #value id="value"></span>
|
<span #value id="value"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-grow-1 px-1">
|
<div class="currency-container flex-grow-1 px-1">
|
||||||
{{ unit }}
|
{{ unit }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,8 +1,18 @@
|
|||||||
:host {
|
:host {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
.status {
|
.currency-container,
|
||||||
|
.status-container {
|
||||||
|
flex: 1;
|
||||||
|
min-width: 2.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.status-container {
|
||||||
font-size: 1.33rem;
|
font-size: 1.33rem;
|
||||||
|
|
||||||
|
ion-icon {
|
||||||
|
pointer-events: all;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.value-container {
|
.value-container {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user