Skip to content

Commit

Permalink
fixed styles
Browse files Browse the repository at this point in the history
  • Loading branch information
FXFrosties authored and FXFrosties committed Oct 23, 2022
1 parent f2bd77a commit 98b45bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/step1/step1.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ <h2>Wo wohnst du?</h2>
</div>

<div class="cities">
<div *ngFor="let electricityPrice of electricityPrices$ | async" [ngClass]="{'city': true, 'bg-neutral': !comparePrices(electricityPrice, selectedPrice), 'bg-primary': comparePrices(electricityPrice, selectedPrice), 'text-neutral': comparePrices(electricityPrice, selectedPrice)}" (click)="selectPrice(electricityPrice)">
<div *ngFor="let electricityPrice of electricityPrices$ | async" [ngClass]="{'city': true, 'bg-neutral': !comparePrices(electricityPrice, selectedPrice), 'bg-primary': comparePrices(electricityPrice, selectedPrice), 'text-primary-content': true}" (click)="selectPrice(electricityPrice)">
<label class="label cursor-pointer electricity-price">
<div class="text p-2">
<h3 >{{ electricityPrice.municipalityLabel }}</h3>
<p><b>{{ electricityPrice.municipalityLabel }}</b></p>
<p>{{ electricityPrice.operatorLabel }}</p>
</div>
</label>
Expand Down

0 comments on commit 98b45bb

Please sign in to comment.