Skip to content

Commit

Permalink
Correct icon image height
Browse files Browse the repository at this point in the history
Kept parent div class the same.
  • Loading branch information
jampez77 committed May 12, 2022
1 parent fd95800 commit 61fa0d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ class MiniGraphCard extends LitElement {
renderIcon() {

if (this.config.icon_image != undefined){
return html` <div class="entity__icon">
<img src="${this.config.icon_image}" height=25/>
return html` <div class="icon">
<img src="${this.config.icon_image}" height="25"/>
</div>`;
}
const { icon, icon_adaptive_color } = this.config.show;
Expand Down

0 comments on commit 61fa0d3

Please sign in to comment.