Skip to content

Commit

Permalink
Refactor class names for error and loading divs
Browse files Browse the repository at this point in the history
Updated the class names for the loading spinner and error message divs from 'loading-spinner' and 'center-message' to 'checkout-main loading-spinner' and 'checkout-main center-message', respectively. This change ensures consistency and improves CSS targeting for the checkout components.
  • Loading branch information
Zerskk committed Dec 2, 2024
1 parent 38dcfde commit 921e0db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions archigator/src/app/main/main.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div class="checkout-wrapper">

<div *ngIf="loading" class="loading-spinner">
<div *ngIf="loading" class="checkout-main loading-spinner">
<!-- Placeholder for your spinner; you can replace it with your spinner design -->
<fa-icon class="spinner" [size]="'2x'" [icon]="faSpinner" [spin]="true" *ngIf="loading"></fa-icon>
<p>Loading...</p>
Expand Down Expand Up @@ -41,7 +41,7 @@
</div>

<ng-template #noMetadata>
<div *ngIf="error" class="center-message">
<div *ngIf="error" class="checkout-main center-message">
Could not load metadata
</div>
</ng-template>

0 comments on commit 921e0db

Please sign in to comment.