Center weather widget content

This commit is contained in:
Zakary Timson 2019-01-03 14:12:36 -05:00
parent f1b8520100
commit 9174308c1c

View File

@ -1,6 +1,6 @@
<div *ngIf="weatherService.weather.length" class="w-100 h-100"> <div *ngIf="weatherService.weather.length" class="w-100 h-100">
<h3 class="text-center">{{weatherService.weather[0].phrase}}</h3> <h3 class="text-center">{{weatherService.weather[0].phrase}}</h3>
<div class="d-flex align-items-center"> <div class="d-flex align-items-center justify-content-center">
<div><i [class]="'mt-4 wi wi-fw ' + weatherService.icon" style="font-size: 6rem"></i></div> <div><i [class]="'mt-4 wi wi-fw ' + weatherService.icon" style="font-size: 6rem"></i></div>
<div> <div>
<div> <div>