Skip to content

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

Task/improve name display in activities table (#7043)

Thomas Kaul10fffd68cb74
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4a799aa558..c981ab6647 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Improved the styling of the checkboxes to consistently use the primary color in their states
+- Improved the name display in the activities table
- Improved the user id display in the users table of the admin control panel
- Improved the language localization for German (`de`)
diff --git a/libs/ui/src/lib/activities-table/activities-table.component.html b/libs/ui/src/lib/activities-table/activities-table.component.html
index 1e57e8c7eb..0041f5a149 100644
--- a/libs/ui/src/lib/activities-table/activities-table.component.html
+++ b/libs/ui/src/lib/activities-table/activities-table.component.html
@@ -161,13 +161,11 @@
<ng-container i18n>Name</ng-container>
</th>
<td *matCellDef="let element" class="px-1" mat-cell>
- <div class="align-items-center d-flex line-height-1">
- <div>
- <span class="text-truncate">{{ element.SymbolProfile?.name }}</span>
- @if (element.isDraft) {
- <span class="badge badge-secondary ml-1" i18n>Draft</span>
- }
- </div>
+ <div class="align-items-center d-flex line-height-1 text-nowrap">
+ <span class="text-truncate">{{ element.SymbolProfile?.name }}</span>
+ @if (element.isDraft) {
+ <span class="badge badge-secondary ml-1" i18n>Draft</span>
+ }
</div>
@if (
element.SymbolProfile?.dataSource !== 'MANUAL' &&