diff --git a/src/roku-card.ts b/src/roku-card.ts index 52ddac7..a588858 100644 --- a/src/roku-card.ts +++ b/src/roku-card.ts @@ -134,10 +134,10 @@ export class RokuCard extends LitElement { padding: 16px 0px 16px 0px; } img, - ha-icon-button { + ha-icon { cursor: pointer; } - ha-icon-button { + ha-icon { --mdc-icon-button-size: 64px; --mdc-icon-size: 48px; } @@ -171,7 +171,6 @@ export class RokuCard extends LitElement { ? html` + > + + ` : html` ` : html` - + `; } @@ -203,19 +204,20 @@ export class RokuCard extends LitElement { const config = this._config[button]; return config && config.show === false ? html` - + ` : html` + > + + `; } else { return html``; @@ -223,6 +225,7 @@ export class RokuCard extends LitElement { } private _handleAction(ev): void { + console.log('click'); if (this.hass && this._config && ev.detail.action) { const button = ev.currentTarget.button; const config = this._config[button] || ev.currentTarget.config;