Skip to content

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

Task/improve no activities info component (#7857)

Thomas Kaul9884fa0be2e7
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 790e07ab6f..f6659e6b60 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Improved the style of the activity type filter on the activities page (experimental)
+- Improved the style of the no activities info component
- Improved the style of the selector in the benchmark comparator
- Improved the language localization for German (`de`)
- Upgraded `papaparse` from version `5.5.3` to `5.7.0`
diff --git a/libs/ui/src/lib/no-activities-info/no-activities-info.component.html b/libs/ui/src/lib/no-activities-info/no-activities-info.component.html
index 3c7f9fd107..f9a174137c 100644
--- a/libs/ui/src/lib/no-activities-info/no-activities-info.component.html
+++ b/libs/ui/src/lib/no-activities-info/no-activities-info.component.html
@@ -2,12 +2,14 @@
<div class="d-flex justify-content-center mb-1">
<gf-logo size="large" [showLabel]="false" />
</div>
- <a
- class="align-items-center justify-content-center"
- color="primary"
- mat-button
- [routerLink]="routerLinkPortfolioActivitiesCreate"
- >
- <span i18n>Time to add your first activity.</span>
- </a>
+ <div class="d-flex justify-content-center">
+ <a
+ class="align-items-center d-inline-flex justify-content-center"
+ color="primary"
+ mat-button
+ [routerLink]="routerLinkPortfolioActivitiesCreate"
+ >
+ <span i18n>Add your first activity</span>
+ </a>
+ </div>
</div>