mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-04 23:17:46 +00:00
Restore hui-plant-status-card.ts
This commit is contained in:
parent
a2b6ce3437
commit
d263b5550a
@ -63,7 +63,7 @@ class HuiPlantStatusCard extends LitElement implements LovelaceCard {
|
|||||||
@internalProperty() private _config?: PlantStatusCardConfig;
|
@internalProperty() private _config?: PlantStatusCardConfig;
|
||||||
|
|
||||||
public getCardSize(): number {
|
public getCardSize(): number {
|
||||||
return 5;
|
return 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
public setConfig(config: PlantStatusCardConfig): void {
|
public setConfig(config: PlantStatusCardConfig): void {
|
||||||
@ -163,10 +163,6 @@ class HuiPlantStatusCard extends LitElement implements LovelaceCard {
|
|||||||
|
|
||||||
static get styles(): CSSResult {
|
static get styles(): CSSResult {
|
||||||
return css`
|
return css`
|
||||||
ha-card {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.banner {
|
.banner {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user