Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
KTibow authored Jul 4, 2020
1 parent 85cfbc5 commit 7e5302f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ class LgLaundryCard extends HTMLElement {
}
var conthtml = '';
conthtml = `
<ha-icon icon="${iconNameStr}" style="transform: scale(3,3); color: ${stateStr == 'on' ? "var(--sidebar-selected-icon-color)" : "var(--secondary-text-color)"}; display: block; padding: 8px 5px 12px 5px; margin: 15px;"></ha-icon>
<ha-icon icon="${iconNameStr}" style="transform: scale(3,3); color: ${stateStr == 'on' ? "var(--sidebar-selected-icon-color)" : "var(--secondary-text-color)"}; display: block; padding: 8px 9px 12px 5px; margin: 15px;"></ha-icon>
<div>${friendlyNameStr} is currently ${stateStr}.
`;
if (stateStr == 'on') {
Expand All @@ -290,7 +290,7 @@ class LgLaundryCard extends HTMLElement {
</div>
</div>
`;
conthtml = conthtml.replace("8px 5px 12px 5px", "16px 5px 12px 5px");
conthtml = conthtml.replace("8px 9px 12px 5px", "16px 9px 12px 5px");
} else {
conthtml += "</div>";
}
Expand Down

0 comments on commit 7e5302f

Please sign in to comment.