Skip to content

Commit

Permalink
Merge pull request #343 from flixlix/342-without-grid-the-view-is-a-b…
Browse files Browse the repository at this point in the history
…it-destroyed

fix: 🔥 spacing no grid two individual devices
  • Loading branch information
flixlix authored Aug 12, 2023
2 parents 1a77b24 + ad23a47 commit cbe52e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/power-flow-card-plus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1464,7 +1464,9 @@ export class PowerFlowCardPlus extends LitElement {
/>
</svg>
</div>
${this.showLine(individual1.state || 0) && individual2.has && individual1.has ? "" : html` <span class="label">${home.name}</span>`}
${this.showLine(individual1.state || 0) && individual2.has && individual1.has
? html`<span class="label"></span>`
: html` <span class="label">${home.name}</span>`}
</div>
</div>
${battery.has || (individual1.has && individual2.has)
Expand Down

0 comments on commit cbe52e7

Please sign in to comment.