mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-04 15:07:48 +00:00
Restore hui-shopping-list-card.ts
This commit is contained in:
parent
d263b5550a
commit
54e99357b5
@ -52,7 +52,7 @@ class HuiShoppingListCard extends SubscribeMixin(LitElement)
|
|||||||
@internalProperty() private _checkedItems?: ShoppingListItem[];
|
@internalProperty() private _checkedItems?: ShoppingListItem[];
|
||||||
|
|
||||||
public getCardSize(): number {
|
public getCardSize(): number {
|
||||||
return (this._config ? (this._config.title ? 2 : 0) : 0) + 6;
|
return (this._config ? (this._config.title ? 1 : 0) : 0) + 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
public setConfig(config: ShoppingListCardConfig): void {
|
public setConfig(config: ShoppingListCardConfig): void {
|
||||||
@ -254,8 +254,6 @@ class HuiShoppingListCard extends SubscribeMixin(LitElement)
|
|||||||
return css`
|
return css`
|
||||||
ha-card {
|
ha-card {
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
height: 100%;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-header {
|
.has-header {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user