Skip to content

Commit

Permalink
Merged in DSC-1235 (pull request DSpace#818)
Browse files Browse the repository at this point in the history
[DSC-1235] fix display of cris-layout-metrics-box

Approved-by: Davide Negretti
  • Loading branch information
Yevhenii-Lohatskyi authored and Davide Negretti committed Sep 7, 2023
2 parents 97fda56 + 41ca987 commit 8f2525f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div ds-metric-row
*ngFor="let metricRow of (metricRows | async)"
[metricRow]="metricRow"
class="row"
></div>
class="d-flex flex-wrap gap-3 mb-3">
</div>
</div>
</div>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ng-container *ngFor="let metric of metricRow.metrics">
<ng-container *ngIf="metric">
<ds-metric-loader [metric]="metric" class="col-3 mb-2"
<ds-metric-loader [metric]="metric"
[class.d-none]="(isHidden(metric.id) | async)"
(hide)="toggleVisibility(metric.id, $event)"></ds-metric-loader>
</ng-container>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="container p-2" role="alert" [ngClass]="metric | dsMetricStyleConfig">
<div class="container p-2 mb-0" style="width: 250px;" role="alert" [ngClass]="metric | dsMetricStyleConfig">
<div #container></div>
</div>

0 comments on commit 8f2525f

Please sign in to comment.