mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 11:16:35 +00:00
Looser layout limits for graph cards (#23910)
This commit is contained in:
parent
41770a89b4
commit
05b8a48ba8
@ -66,7 +66,7 @@ export class HuiHistoryGraphCard extends LitElement implements LovelaceCard {
|
|||||||
columns: 12,
|
columns: 12,
|
||||||
rows: 6,
|
rows: 6,
|
||||||
min_columns: 6,
|
min_columns: 6,
|
||||||
min_rows: (this._config?.entities?.length || 1) * 2,
|
min_rows: this._config?.entities?.length || 1,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -132,8 +132,8 @@ export class HuiStatisticsGraphCard extends LitElement implements LovelaceCard {
|
|||||||
return {
|
return {
|
||||||
columns: 12,
|
columns: 12,
|
||||||
rows: 5,
|
rows: 5,
|
||||||
min_columns: 8,
|
min_columns: 6,
|
||||||
min_rows: 4,
|
min_rows: 3,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user