padding fixes description/plan overview

This commit is contained in:
mchouliara 2024-09-11 15:50:33 +03:00
parent 2a295f454e
commit 94e9117d29
2 changed files with 5 additions and 5 deletions

View File

@ -85,14 +85,14 @@
</div> </div>
</div> </div>
<ng-container *ngIf="referenceService.hasRerefenceOfTypes(description?.plan?.planReferences, [this.referenceTypeService.getGrantReferenceType()])"> <ng-container *ngIf="referenceService.hasRerefenceOfTypes(description?.plan?.planReferences, [this.referenceTypeService.getGrantReferenceType()])">
<div class="row header"> <div class="row header mt-3">
<div class="col-auto">{{'DESCRIPTION-OVERVIEW.GRANT' | translate}}</div> <div class="col-auto">{{'DESCRIPTION-OVERVIEW.GRANT' | translate}}</div>
</div> </div>
<div class="row description-label"> <div class="row description-label">
<div class="col-auto">{{referenceService.getReferencesForTypesFirstSafe(description?.plan?.planReferences, [this.referenceTypeService.getGrantReferenceType()])?.reference?.label}}</div> <div class="col-auto">{{referenceService.getReferencesForTypesFirstSafe(description?.plan?.planReferences, [this.referenceTypeService.getGrantReferenceType()])?.reference?.label}}</div>
</div> </div>
</ng-container> </ng-container>
<div class="row header"> <div class="row header mt-3">
<div class="col-auto">{{'DESCRIPTION-OVERVIEW.RESEARCHERS' | translate}}</div> <div class="col-auto">{{'DESCRIPTION-OVERVIEW.RESEARCHERS' | translate}}</div>
</div> </div>
<div class="row"> <div class="row">
@ -115,7 +115,7 @@
<span *ngIf="!researchers || researchers.length === 0" class="material-icons">horizontal_rule</span> <span *ngIf="!researchers || researchers.length === 0" class="material-icons">horizontal_rule</span>
</div> </div>
</div> </div>
<div class="row header"> <div class="row header mt-3">
<div class="col-auto">{{'DESCRIPTION-OVERVIEW.DESCRIPTION' | translate}}</div> <div class="col-auto">{{'DESCRIPTION-OVERVIEW.DESCRIPTION' | translate}}</div>
</div> </div>
<div class="row" *ngIf="description.description"> <div class="row" *ngIf="description.description">

View File

@ -86,7 +86,7 @@
<div class="row header"><div class="col-auto">{{'PLAN-OVERVIEW.GRANT' | translate}}</div></div> <div class="row header"><div class="col-auto">{{'PLAN-OVERVIEW.GRANT' | translate}}</div></div>
<div class="row plan-label"><div class="col-auto">{{referenceService.getReferencesForTypesFirstSafe(plan?.planReferences, [this.referenceTypeService.getGrantReferenceType()])?.reference?.label}}</div></div> <div class="row plan-label"><div class="col-auto">{{referenceService.getReferencesForTypesFirstSafe(plan?.planReferences, [this.referenceTypeService.getGrantReferenceType()])?.reference?.label}}</div></div>
</ng-container> </ng-container>
<div class="row header"><div class="col-auto">{{'DESCRIPTION-OVERVIEW.RESEARCHERS' | translate}}</div></div> <div class="row header mt-3"><div class="col-auto">{{'DESCRIPTION-OVERVIEW.RESEARCHERS' | translate}}</div></div>
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">
<ng-container *ngFor="let planReference of researchers let last = last"> <ng-container *ngFor="let planReference of researchers let last = last">
@ -109,7 +109,7 @@
</div> </div>
<div *ngIf="!researchers || researchers.length === 0" class="col-12"><span class="material-icons">horizontal_rule</span></div> <div *ngIf="!researchers || researchers.length === 0" class="col-12"><span class="material-icons">horizontal_rule</span></div>
</div> </div>
<div class="row header"><div class="col-12">{{'PLAN-OVERVIEW.DESCRIPTION' | translate}}</div></div> <div class="row header mt-3"><div class="col-12">{{'PLAN-OVERVIEW.DESCRIPTION' | translate}}</div></div>
<div class="row" *ngIf="plan.description"> <div class="row" *ngIf="plan.description">
<div class="col-12"> <div class="col-12">
<p class="desc-txt" [innerHTML]="plan.description"></p> <p class="desc-txt" [innerHTML]="plan.description"></p>