mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-07 16:37:48 +00:00
Restore hui-history-graph-card.ts
This commit is contained in:
parent
e892d14af0
commit
354d74ce1d
@ -66,7 +66,7 @@ export class HuiHistoryGraphCard extends LitElement implements LovelaceCard {
|
||||
private _date?: Date;
|
||||
|
||||
public getCardSize(): number {
|
||||
return 3 + 2 * (this._configEntities?.length || 1);
|
||||
return 4;
|
||||
}
|
||||
|
||||
public setConfig(config: HistoryGraphCardConfig): void {
|
||||
@ -173,10 +173,6 @@ export class HuiHistoryGraphCard extends LitElement implements LovelaceCard {
|
||||
|
||||
static get styles(): CSSResult {
|
||||
return css`
|
||||
ha-card {
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.content {
|
||||
padding: 16px;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user