Skip to content

Commit

Permalink
styling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
urmikgov committed Nov 9, 2023
1 parent c6e3ea4 commit 7f27377
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,8 @@
></app-no-data>
</div>

<div class="full-width">
<span class="subheading1">Project Duration</span>
</div>
<div class="grid-1"></div>
<div class="subheading2 grid-double">Project Duration</div>
<div class="subheading2 grid-1">Duration</div>
<div class="grid-double">
{{ applicationSubmission.naruProjectDurationUnit }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@use '../../../../../../styles/functions' as *;

.soil-table {
display: grid;
grid-template-columns: max-content max-content;
overflow-x: auto;
grid-column-gap: 36px;
grid-row-gap: 12px;
grid-column-gap: rem(36);
grid-row-gap: rem(12);
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,36 +52,39 @@ <h4>Soil and Fill Components</h4>
{{ applicationSubmission.nfuFillOriginDescription }}
<app-no-data *ngIf="!applicationSubmission.nfuFillOriginDescription"></app-no-data>
</div>
<div class="subheading1 full-width">Fill to be Placed</div>
<div class="full-width soil-table">
<div class="grid-1"><strong>Volume</strong></div>
<div class="grid-2">
{{ applicationSubmission.nfuFillVolume }}
<span *ngIf="applicationSubmission.nfuFillVolume !== null">m<sup>3</sup></span>
<app-no-data *ngIf="applicationSubmission.nfuFillVolume === null"></app-no-data>
</div>
<div class="grid-1"><strong>Area</strong></div>
<div class="grid-2">
{{ applicationSubmission.nfuTotalFillArea }}
<span *ngIf="applicationSubmission.nfuTotalFillArea !== null">m<sup>2</sup></span>
<app-no-data *ngIf="applicationSubmission.nfuTotalFillArea === null"></app-no-data>
</div>
<div class="grid-1"><strong>Maximum Depth</strong></div>
<div class="grid-2">
{{ applicationSubmission.nfuMaxFillDepth }}
<span *ngIf="applicationSubmission.nfuMaxFillDepth !== null">m</span>
<app-no-data *ngIf="applicationSubmission.nfuMaxFillDepth === null"></app-no-data>
</div>
<div class="grid-1"><strong>Average Depth</strong></div>
<div class="grid-2">
{{ applicationSubmission.nfuAverageFillDepth }}
<span *ngIf="applicationSubmission.nfuAverageFillDepth !== null">m</span>
<app-no-data *ngIf="applicationSubmission.nfuAverageFillDepth === null"></app-no-data>
</div>
<div class="grid-1"></div>
<div class="subheading2 grid-double">Fill to be Placed</div>

<div class="subheading2 grid-1">Volume</div>
<div class="grid-double">
{{ applicationSubmission.nfuFillVolume }}
<span *ngIf="applicationSubmission.nfuFillVolume !== null">m<sup>3</sup></span>
<app-no-data *ngIf="applicationSubmission.nfuFillVolume === null"></app-no-data>
</div>
<div class="full-width">
<span class="subheading1">Project Duration</span>
<div class="subheading2 grid-1">Area</div>
<div class="grid-double">
{{ applicationSubmission.nfuTotalFillArea }}
<span *ngIf="applicationSubmission.nfuTotalFillArea !== null">m<sup>2</sup></span>
<app-no-data *ngIf="applicationSubmission.nfuTotalFillArea === null"></app-no-data>
</div>
<div class="subheading2 grid-1">Maximum Depth</div>
<div class="grid-double">
{{ applicationSubmission.nfuMaxFillDepth }}
<span *ngIf="applicationSubmission.nfuMaxFillDepth !== null">m</span>
<app-no-data
*ngIf="applicationSubmission.nfuMaxFillDepth === null"
></app-no-data>
</div>
<div class="subheading2 grid-1">Average Depth</div>
<div class="grid-double">
{{ applicationSubmission.nfuAverageFillDepth }}
<span *ngIf="applicationSubmission.nfuAverageFillDepth !== null">m</span>
<app-no-data
*ngIf="applicationSubmission.nfuAverageFillDepth === null"
></app-no-data>
</div>
<div class="grid-1"></div>
<div class="subheading2 grid-double">Project Duration</div>
<div class="subheading2 grid-1">Duration</div>
<div class="grid-double">
{{ applicationSubmission.nfuProjectDurationUnit }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
grid-template-columns: max-content max-content max-content;

@media screen and (min-width: $tabletBreakpoint) {
grid-template-columns: 0.55fr 1fr 1fr;
grid-template-columns: 0.55fr 1fr;
}

@media screen and (min-width: $midBreakpoint) {
grid-template-columns: 0.95fr 1fr 2fr;
grid-template-columns: 0.95fr 1fr;
grid-column-gap: rem(16);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,8 @@
</div>
</div>

<div class="full-width">
<span class="subheading1">Project Duration</span>
</div>
<div class="grid-1"></div>
<div class="subheading2 grid-double">Project Duration</div>
<div class="subheading2 grid-1">Duration</div>
<div class="grid-double">
{{ applicationSubmission.soilProjectDurationUnit }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@
</div>
</div>

<div class="full-width">
<span class="subheading1">Project Duration</span>
</div>
<div class="grid-1"></div>
<div class="subheading2 grid-double">Project Duration</div>
<div class="subheading2 grid-1">Duration</div>
<div class="grid-double">
{{ applicationSubmission.soilProjectDurationUnit }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use '../../../../../../styles/functions.scss' as *;
@use '../../../../../../styles/functions' as *;

.parcel-table {
display: grid;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,8 @@
<app-no-data *ngIf="noiSubmission.soilAlreadyPlacedAverageDepth === null"></app-no-data>
</div>

<div class="full-width">
<h4>Project Duration</h4>
</div>
<div class="grid-1"></div>
<div class="subheading2 grid-double">Project Duration</div>
<div class="subheading2 grid-1">Duration</div>
<div class="grid-double">
{{ noiSubmission.soilProjectDurationUnit }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,8 @@
<app-no-data *ngIf="noiSubmission.soilAlreadyRemovedAverageDepth === null"></app-no-data>
</div>

<div class="full-width">
<h4>Project Duration</h4>
</div>
<div class="grid-1"></div>
<div class="subheading2 grid-double">Project Duration</div>
<div class="subheading2 grid-1">Duration</div>
<div class="grid-double">
{{ noiSubmission.soilProjectDurationUnit }}
Expand Down

0 comments on commit 7f27377

Please sign in to comment.