Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/improve skeleton loader size (#425)

Thomas Kaul6d2e3b6e4066
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5b730e790f..fbc03f98f8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## Unreleased
+
+### Changed
+
+- Improved the skeleton loader size of the portfolio proportion chart component
+
## 1.62.0 - 17.10.2021
### Added
diff --git a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.html b/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.html
index 8e86acd33b..335c4fc2c2 100644
--- a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.html
+++ b/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.html
@@ -1,9 +1,9 @@
<ngx-skeleton-loader
*ngIf="isLoading"
animation="pulse"
+ class="h-100"
[theme]="{
- height: '15rem',
- width: '100%'
+ height: '100%'
}"
></ngx-skeleton-loader>
<canvas
diff --git a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.scss b/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.scss
index 5d4e87f30f..658f1a30aa 100644
--- a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.scss
+++ b/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.scss
@@ -1,3 +1,4 @@
:host {
+ aspect-ratio: 1;
display: block;
}