diff --git a/src/panels/lovelace/editor/card-editor/hui-card-picker.ts b/src/panels/lovelace/editor/card-editor/hui-card-picker.ts index d127d17a47ac..46aa25842c1e 100644 --- a/src/panels/lovelace/editor/card-editor/hui-card-picker.ts +++ b/src/panels/lovelace/editor/card-editor/hui-card-picker.ts @@ -33,6 +33,7 @@ import type { LovelaceCard } from "../../types"; import { getCardStubConfig } from "../get-card-stub-config"; import { coreCards } from "../lovelace-cards"; import type { Card, CardPickTarget } from "../types"; +import { haStyleScrollbar } from "../../../../resources/styles"; interface CardElement { card: Card; @@ -63,8 +64,6 @@ export class HuiCardPicker extends LitElement { @state() private _width?: number; - @state() private _height?: number; - private _unusedEntities?: string[]; private _usedEntities?: string[]; @@ -149,10 +148,10 @@ export class HuiCardPicker extends LitElement { )} >