Skip to content

Commit

Permalink
Merge pull request #1845 from bcgov/bugfix/ALCS-2177
Browse files Browse the repository at this point in the history
Fix Multiple Files Showing in One Line in Public Search View
  • Loading branch information
Abradat authored Sep 12, 2024
2 parents 1a4301c + 47ad226 commit 2efa1b4
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,15 @@
</div>

<div class="subheading2 grid-1">Cross Sections</div>
<div class="grid-double">
<div class="grid-double multiple-documents">
<a *ngFor="let file of crossSections" (click)="openFile(file)">
{{ file.fileName }}
</a>
<app-no-data *ngIf="crossSections.length === 0"></app-no-data>
</div>

<div class="subheading2 grid-1">Reclamation Plan</div>
<div class="grid-double">
<div class="grid-double multiple-documents">
<a *ngFor="let file of crossSections" (click)="openFile(file)">
{{ file.fileName }}
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
</div>

<div class="subheading2 grid-1">Cross Sections</div>
<div class="grid-double">
<div class="grid-double multiple-documents">
<a *ngFor="let file of crossSections" (click)="openFile(file)">
{{ file.fileName }}
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
</div>

<div class="subheading2 grid-1">Cross Sections</div>
<div class="grid-double">
<div class="grid-double multiple-documents">
<a *ngFor="let file of crossSections" (click)="openFile(file)">
{{ file.fileName }}
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,10 @@
}
}
}

.multiple-documents {
a {
display: block;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@

<ng-container *ngIf="noiSubmission.soilIsExtractionOrMining || noiSubmission.soilIsAreaWideFilling">
<div class="subheading2 grid-1">Cross Sections</div>
<div class="grid-double">
<div class="grid-double multiple-documents">
<a *ngFor="let file of crossSections" (click)="openFile(file)">
{{ file.fileName }}
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@

<ng-container *ngIf="noiSubmission.soilIsAreaWideFilling">
<div class="subheading2 grid-1">Cross Sections</div>
<div class="grid-double">
<div class="grid-double multiple-documents">
<a *ngFor="let file of crossSections" (click)="openFile(file)">
{{ file.fileName }}
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@

<ng-container *ngIf="noiSubmission?.soilIsExtractionOrMining">
<div class="subheading2 grid-1">Cross Sections</div>
<div class="grid-double">
<div class="grid-double multiple-documents">
<a *ngFor="let file of crossSections" (click)="openFile(file)">
{{ file.fileName }}
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,10 @@
}
}
}

.multiple-documents {
a {
display: block;
}
}
}

0 comments on commit 2efa1b4

Please sign in to comment.