Fix explore the world layout for FireFox

This commit is contained in:
Patrick Gebhardt 2020-06-24 13:36:46 +02:00
parent 91ab7ae971
commit cd9f68234f
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<app-search-input></app-search-input>
<h2>Explore the world</h2>
<div *ngIf="!loading && !message" class="region-container">
<span>No regions to explore :/</span>
<span *ngIf="!regions || regions.length === 0">No regions to explore :/</span>
<app-region (click)="onRegionClick(region)" *ngFor="let region of regions" [region]="region"></app-region>
</div>
<mat-spinner *ngIf="loading" class="central"></mat-spinner>

View File

@ -12,7 +12,6 @@ app-search-input {
.region-container {
display: flex;
flex-direction: column;
align-items: center;
> app-region {
margin-bottom: 2rem;