Skip to content

Commit

Permalink
only apply --size to empty button
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerwyn committed Nov 8, 2023
1 parent bed0e4b commit de7c949
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/android-tv-card.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/android-tv-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class AndroidTVCard extends LitElement {
if (!Object.keys(info).length) {
return html`<div
class="empty-button"
style=${styleMap(style)}
style=${styleMap({ '--size': style['--size'] })}
></div>`;
}

Expand Down

0 comments on commit de7c949

Please sign in to comment.