Skip to content

Commit

Permalink
Remove layout options for media player (#21258)
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya authored Jul 3, 2024
1 parent 8232983 commit 19ee150
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/panels/lovelace/cards/hui-media-control-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ import { findEntities } from "../common/find-entities";
import { hasConfigOrEntityChanged } from "../common/has-changed";
import "../components/hui-marquee";
import { createEntityNotFoundWarning } from "../components/hui-warning";
import type {
LovelaceCard,
LovelaceCardEditor,
LovelaceLayoutOptions,
} from "../types";
import type { LovelaceCard, LovelaceCardEditor } from "../types";
import { MediaControlCardConfig } from "./types";

@customElement("hui-media-control-card")
Expand Down Expand Up @@ -586,15 +582,6 @@ export class HuiMediaControlCard extends LitElement implements LovelaceCard {
}
}

public getLayoutOptions(): LovelaceLayoutOptions {
return {
grid_columns: 4,
grid_min_columns: 2,
grid_rows: 3,
grid_min_rows: 3,
};
}

static get styles(): CSSResultGroup {
return css`
ha-card {
Expand Down

0 comments on commit 19ee150

Please sign in to comment.