Skip to content

Commit

Permalink
Try to fix section tags on overview and detail views
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelMoeri committed Oct 30, 2024
1 parent e649a76 commit 6748b0e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h4 *ngIf="keyResult?.objective?.quarter as quarter">{{ quarter.label }}</h4>
</span>
</section>

<div class="d-flex gap-4 flex-row mt-2">
<section class="d-flex gap-4 flex-row mt-2">
<ng-container *ngIf="keyResult.keyResultType == 'metric' && castToMetric(keyResult) as keyResultMetric">
<div class="d-flex justify-content-start w-100 metric-label-div">
<h5 class="keyResult-detail-attribute-show rounded-5 p-2 d-flex justify-content-center metric-col">
Expand Down Expand Up @@ -79,7 +79,7 @@ <h5 class="ordinal-zone-title">Stretch</h5>
</div>
</div>
</ng-container>
</div>
</section>

<section *ngIf="keyResult.lastCheckIn as checkIn" class="mt-4">
<h3 class="sub-title-keyresult-detail fw-bold mb-1">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="w-100" [cdkTrapFocus]="true" [cdkTrapFocusAutoCapture]="true">
<ng-container *ngIf="(objective$ | async)?.id && (objective$ | async) as objective; else spinner">
<div *ngIf="objective" class="d-flex flex-column">
<div class="w-100 d-flex justify-content-between align-items-center mb-3">
<section class="w-100 d-flex justify-content-between align-items-center mb-3">
<h2 class="title">{{ objective.title }}</h2>
<button
class="d-flex align-items-center justify-content-center"
Expand All @@ -11,7 +11,7 @@ <h2 class="title">{{ objective.title }}</h2>
>
<mat-icon class="d-flex justify-content-center align-items-center">close</mat-icon>
</button>
</div>
</section>

<section class="me-3">
<h3 class="sub-title-objective fw-bold mb-1">Beschrieb</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h2 class="title fit-content">{{ objective.title }}</h2>
</button>
</section>

<div class="d-flex px-3 gap-3 flex-column">
<section class="d-flex px-3 gap-3 flex-column">
<app-keyresult
*ngFor="let keyResult of objective.keyResults; trackBy: trackByFn"
class="border-0 p-0"
Expand All @@ -42,7 +42,7 @@ <h2 class="title fit-content">{{ objective.title }}</h2>
[keyResult]="keyResult"
[attr.data-testId]="'keyresult'"
></app-keyresult>
</div>
</section>

<section class="p-0 py-2 m-0">
<button
Expand Down

0 comments on commit 6748b0e

Please sign in to comment.