Added fixed size to make animations smooth on desktop
This commit is contained in:
		@@ -1,22 +1,24 @@
 | 
			
		||||
<div class="desktop-height p-3">
 | 
			
		||||
    <div>
 | 
			
		||||
        <h1 class="d-inline">{{now | async | date: 'fullDate'}}</h1>
 | 
			
		||||
        <h1 class="d-inline float-right">{{now | async | date: 'mediumTime'}}</h1>
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="mt-3 d-flex">
 | 
			
		||||
        <div class="flex-grow-1 pr-2">
 | 
			
		||||
            <mat-card class="w-100 hover" routerLink="/weather">
 | 
			
		||||
                <mat-card-content>
 | 
			
		||||
                    <weather-widget class="mx-auto"></weather-widget>
 | 
			
		||||
                </mat-card-content>
 | 
			
		||||
            </mat-card>
 | 
			
		||||
    <div style="max-width: 1000px;">
 | 
			
		||||
        <div>
 | 
			
		||||
            <h1 class="d-inline">{{now | async | date: 'fullDate'}}</h1>
 | 
			
		||||
            <h1 class="d-inline float-right">{{now | async | date: 'mediumTime'}}</h1>
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="flex-grow-1 pl-2">
 | 
			
		||||
            <mat-card class="w-100 hover" routerLink="/battery">
 | 
			
		||||
                <mat-card-content>
 | 
			
		||||
                    <battery-widget></battery-widget>
 | 
			
		||||
                </mat-card-content>
 | 
			
		||||
            </mat-card>
 | 
			
		||||
        <div class="mt-3 d-flex">
 | 
			
		||||
            <div class="flex-grow-1 pr-2">
 | 
			
		||||
                <mat-card class="w-100 hover" routerLink="/weather">
 | 
			
		||||
                    <mat-card-content>
 | 
			
		||||
                        <weather-widget class="mx-auto"></weather-widget>
 | 
			
		||||
                    </mat-card-content>
 | 
			
		||||
                </mat-card>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="flex-grow-1 pl-2">
 | 
			
		||||
                <mat-card class="w-100 hover" routerLink="/battery">
 | 
			
		||||
                    <mat-card-content>
 | 
			
		||||
                        <battery-widget></battery-widget>
 | 
			
		||||
                    </mat-card-content>
 | 
			
		||||
                </mat-card>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
</div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user