Make thermostat centered in panel or grid view (#18731)

* Make thermostat centered in panel or grid view

* Update hui-humidifier-card.ts
This commit is contained in:
Bram Kragten 2023-11-24 14:17:06 +01:00 committed by GitHub
parent 3e7f008277
commit 1de2e6161d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -156,6 +156,7 @@ export class HuiHumidifierCard extends LitElement implements LovelaceCard {
return css`
:host {
display: block;
height: 100%;
}
ha-card {
@ -166,6 +167,7 @@ export class HuiHumidifierCard extends LitElement implements LovelaceCard {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.title {

View File

@ -148,6 +148,7 @@ export class HuiThermostatCard extends LitElement implements LovelaceCard {
return css`
:host {
display: block;
height: 100%;
}
ha-card {
@ -158,6 +159,7 @@ export class HuiThermostatCard extends LitElement implements LovelaceCard {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.title {