fix: Run report view horizontal scroll issue

This commit is contained in:
Jose Alberto Hernandez
2024-08-22 09:15:30 -06:00
committed by Jose Alberto Hernandez
parent bf93f6c80f
commit c3776fb29a
3 changed files with 18 additions and 11 deletions
@@ -158,7 +158,7 @@
</mat-select> </mat-select>
<button mat-button *ngIf="loanProductSettingsForm.controls.delinquencyBucketId" matSuffix mat-icon-button <button mat-button *ngIf="loanProductSettingsForm.controls.delinquencyBucketId" matSuffix mat-icon-button
aria-label="Clear" (click)="clearProperty($event, 'delinquencyBucketId')"> aria-label="Clear" (click)="clearProperty($event, 'delinquencyBucketId')">
<mat-icon>close</mat-icon> <i class="fa fa-close"></i>
</button> </button>
</mat-form-field> </mat-form-field>
@@ -125,8 +125,10 @@ export class RunReportComponent implements OnInit {
} else { // Child Parameter } else { // Child Parameter
const parent: ReportParameter = this.paramData const parent: ReportParameter = this.paramData
.find((entry: any) => entry.name === param.parentParameterName); .find((entry: any) => entry.name === param.parentParameterName);
parent.childParameters.push(param); if (parent != null) {
this.updateParentParameters(parent); parent.childParameters.push(param);
this.updateParentParameters(parent);
}
} }
}); });
if (this.isPentahoReport()) { if (this.isPentahoReport()) {
@@ -1,11 +1,16 @@
.select-row:hover { .table-output {
cursor: pointer; overflow: auto;
} }
.mat-header-cell, .mat-cell { .select-row:hover {
min-width: 150px; cursor: pointer;
margin-left: 5px; }
margin-right: 5px;
.mat-header-cell,
.mat-cell {
min-width: 150px;
margin-left: 5px;
margin-right: 5px;
} }
.back-button { .back-button {
@@ -95,4 +100,4 @@ $color: #e2e4ec;
100% { 100% {
width: $bar; width: $bar;
} }
} }