style: fix prettier

This commit is contained in:
Phan Huy Tran 2025-05-21 11:05:11 +02:00 committed by Phan Huy Tran
commit e6f3f76fd6
2 changed files with 21 additions and 17 deletions

View file

@ -1,16 +1,20 @@
.dice-animation { .dice-animation {
/* Add basic styling for the animation container */ /* Add basic styling for the animation container */
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
min-height: 100px; /* Ensure there's space for the animation */ min-height: 100px; /* Ensure there's space for the animation */
} }
.dice-animation p { .dice-animation p {
animation: spin 1s linear infinite; /* Simple spinning animation */ animation: spin 1s linear infinite; /* Simple spinning animation */
} }
@keyframes spin { @keyframes spin {
0% { transform: rotate(0deg); } 0% {
100% { transform: rotate(360deg); } transform: rotate(0deg);
} }
100% {
transform: rotate(360deg);
}
}

View file

@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http'; import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
import { DiceDto, DiceResult } from './dice.model'; import { DiceDto, DiceResult } from './dice.model';
import {environment} from "@environments/environment"; import { environment } from '@environments/environment';
@Injectable({ @Injectable({
providedIn: 'root', providedIn: 'root',