Browse Source

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

* Improve spacing

* Update changelog
pull/5695/head^2
Thomas Kaul 2 weeks ago
committed by GitHub
parent
commit
baf8daaad7
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      CHANGELOG.md
  2. 4
      apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.scss
  3. 51
      apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html

4
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

4
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;
}
}
}

51
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>
}

Loading…
Cancel
Save