fix: Added missing news message. Resolves #18.

This commit is contained in:
2025-05-20 21:10:21 +02:00
parent 7d98cc2c49
commit 26dac21e7e
4 changed files with 18 additions and 0 deletions

View File

@@ -22,4 +22,9 @@
<mat-card-footer> <mat-card-footer>
<p>{{item.date | date:'d-LL-yyyy HH:mm'}}</p> <p>{{item.date | date:'d-LL-yyyy HH:mm'}}</p>
</mat-card-footer> </mat-card-footer>
</mat-card>
<mat-card *ngIf="news.length == 0">
<p>
Brak wiadomości.
</p>
</mat-card> </mat-card>

View File

@@ -22,6 +22,10 @@ mat-card-content p {
white-space: pre-line; white-space: pre-line;
} }
mat-card p {
margin: 15px;
}
button { button {
margin-right: 4pt; margin-right: 4pt;
} }

View File

@@ -9,4 +9,9 @@
<mat-card-footer> <mat-card-footer>
<p>{{item.date | date:'d-LL-yyyy HH:mm'}}</p> <p>{{item.date | date:'d-LL-yyyy HH:mm'}}</p>
</mat-card-footer> </mat-card-footer>
</mat-card>
<mat-card *ngIf="news.length == 0">
<p>
Brak wiadomości.
</p>
</mat-card> </mat-card>

View File

@@ -29,3 +29,7 @@ mat-card-footer p {
mat-card-content p { mat-card-content p {
white-space: pre-line; white-space: pre-line;
} }
mat-card p {
margin: 15px;
}