Skip to content

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

Bugfix/truncate long titles in asset profile dialog (#6990)

Thomas Kaul9c18b04d4342
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 472d0678b5..2e315dfc9f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added an automatic refresh every 30 seconds to the users table in the admin control panel
+### Fixed
+
+- Fixed a layout issue in the asset profile dialog of the admin control by truncating long titles
+
## 3.7.0 - 2026-06-02
### Added
diff --git a/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.scss b/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.scss
index 73c0c0d741..db23cf0a7d 100644
--- a/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.scss
+++ b/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.scss
@@ -14,4 +14,8 @@
top: 0;
}
}
+
+ .mat-mdc-dialog-title {
+ padding-right: 0.5rem !important;
+ }
}
diff --git a/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html b/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html
index b2a7e0a05d..61ca6a6da5 100644
--- a/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html
+++ b/apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html
@@ -1,10 +1,10 @@
<div class="d-flex flex-column h-100">
- <div class="d-flex mb-3">
- <h1 class="flex-grow-1 m-0" mat-dialog-title>
- <span>{{ assetProfile?.name ?? data.symbol }}</span>
- </h1>
+ <h1 class="align-items-center d-flex mb-3" mat-dialog-title>
+ <span class="flex-grow-1 text-truncate">{{
+ assetProfile?.name ?? data.symbol
+ }}</span>
<button
- class="mx-1 no-min-width px-2"
+ class="ml-1 no-min-width px-2"
mat-button
type="button"
[matMenuTriggerFor]="assetProfileActionsMenu"
@@ -87,7 +87,7 @@
<ng-container i18n>Delete</ng-container>
</button>
</mat-menu>
- </div>
+ </h1>
<div class="flex-grow-1" mat-dialog-content>
<gf-line-chart