mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-05 07:27:47 +00:00
Restore hui-light-card.ts
This commit is contained in:
parent
3d0f492d62
commit
ebf0050e81
@ -68,7 +68,7 @@ export class HuiLightCard extends LitElement implements LovelaceCard {
|
||||
private _brightnessTimout?: number;
|
||||
|
||||
public getCardSize(): number {
|
||||
return 10;
|
||||
return 4;
|
||||
}
|
||||
|
||||
public setConfig(config: LightCardConfig): void {
|
||||
@ -267,9 +267,9 @@ export class HuiLightCard extends LitElement implements LovelaceCard {
|
||||
|
||||
static get styles(): CSSResult {
|
||||
return css`
|
||||
/* :host {
|
||||
:host {
|
||||
display: block;
|
||||
} */
|
||||
}
|
||||
|
||||
ha-card {
|
||||
height: 100%;
|
||||
|
Loading…
x
Reference in New Issue
Block a user