davet2001 / energy-sankey

Simple electrical flow Sankey cards for Home Assistant, visually displaying energy usage
Apache License 2.0
5 stars 0 forks source link

Optimise space usage at top and bottom of card #15

Open davet2001 opened 3 weeks ago

davet2001 commented 3 weeks ago

Space at the top and bottom of the card is not ideally utilised, particularly since it contains a graphic that can be quite long in the y direction. image

The fan-out on the right should be auto adjusted so that it is symmetrical until the upper-most consumer hits the top margin, at which point it should be asymmetrical extending down.

The bottom padding/dead space should be removed.

Lastly, the space above the title and the left hand margin seem too large, so they can be reduced.

I assume the 'entities' card is a good reference: image