Fix width when there is no data in energy cards (#9888)

* Fix width when there is no data in energy cards

* right: 0;
This commit is contained in:
Joakim Sørensen 2021-08-30 18:08:48 +02:00 committed by GitHub
parent 2ab0e40952
commit dd9a9b34d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -321,10 +321,10 @@ export class HuiEnergyGasGraphCard
} }
.no-data { .no-data {
position: absolute; position: absolute;
width: 100%;
height: 100%; height: 100%;
top: 0; top: 0;
left: 0; left: 0;
right: 0;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;

View File

@ -402,10 +402,10 @@ export class HuiEnergySolarGraphCard
} }
.no-data { .no-data {
position: absolute; position: absolute;
width: 100%;
height: 100%; height: 100%;
top: 0; top: 0;
left: 0; left: 0;
right: 0;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;

View File

@ -557,10 +557,10 @@ export class HuiEnergyUsageGraphCard
} }
.no-data { .no-data {
position: absolute; position: absolute;
width: 100%;
height: 100%; height: 100%;
top: 0; top: 0;
left: 0; left: 0;
right: 0;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;