Skip to content

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

Feature/improve spacing of buttons in button container of holding detail dialog (#5692)

Thomas Kaulbaf8daaad712
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ecb75a2a97..d3b1fa120b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added support for a date range query parameter in the data gathering endpoint
- Added a _Storybook_ story for the activities table component
+### Changed
+
+- Improved the spacing around the buttons in the holding detail dialog
+
## 2.206.0 - 2025-10-04
### Changed
diff --git a/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.scss b/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.scss
index 02f5d58a16..50b8db3fe8 100644
--- a/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.scss
+++ b/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.scss
@@ -8,5 +8,9 @@
aspect-ratio: 16 / 9;
margin: 0 -0.5rem;
}
+
+ .button-container {
+ gap: 0.5rem;
+ }
}
}
diff --git a/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html b/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html
index 08dd05e4b0..201b0b8997 100644
--- a/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html
+++ b/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html
@@ -424,33 +424,34 @@
(dataSource?.data.length > 0 &&
data.hasPermissionToReportDataGlitch === true)
) {
+ <hr />
<div class="row">
<div class="col">
- <hr />
- @if (data.hasPermissionToAccessAdminControl) {
- <a
- class="mr-2"
- mat-stroked-button
- [queryParams]="{
- assetProfileDialog: true,
- dataSource: SymbolProfile?.dataSource,
- symbol: SymbolProfile?.symbol
- }"
- [routerLink]="routerLinkAdminControlMarketData"
- (click)="onClose()"
- ><ion-icon class="mr-1" name="create-outline"></ion-icon
- ><span i18n>Manage Asset Profile</span>...</a
- >
- }
- @if (
- dataSource?.data.length > 0 &&
- data.hasPermissionToReportDataGlitch === true
- ) {
- <a color="warn" mat-stroked-button [href]="reportDataGlitchMail"
- ><ion-icon class="mr-1" name="flag-outline"></ion-icon
- ><span i18n>Report Data Glitch</span>...</a
- >
- }
+ <div class="button-container d-flex flex-wrap">
+ @if (data.hasPermissionToAccessAdminControl) {
+ <a
+ mat-stroked-button
+ [queryParams]="{
+ assetProfileDialog: true,
+ dataSource: SymbolProfile?.dataSource,
+ symbol: SymbolProfile?.symbol
+ }"
+ [routerLink]="routerLinkAdminControlMarketData"
+ (click)="onClose()"
+ ><ion-icon class="mr-1" name="create-outline"></ion-icon
+ ><span i18n>Manage Asset Profile</span>...</a
+ >
+ }
+ @if (
+ dataSource?.data.length > 0 &&
+ data.hasPermissionToReportDataGlitch === true
+ ) {
+ <a color="warn" mat-stroked-button [href]="reportDataGlitchMail"
+ ><ion-icon class="mr-1" name="flag-outline"></ion-icon
+ ><span i18n>Report Data Glitch</span>...</a
+ >
+ }
+ </div>
</div>
</div>
}