MindFreeze / ha-sankey-chart

A Home Assistant lovelace card to display a sankey chart. For example for power consumption
MIT License
378 stars 20 forks source link

Appearance: Some margins perhaps needed #202

Closed Floppe closed 4 months ago

Floppe commented 4 months ago

Checklist:

Release with the issue:

Last working release (if known):

Browser and Operating System: Chrome 125, Windows 11

Description of problem: First child element not so visible if it's height is small.

image

Javascript errors shown in the web inspector (if applicable):

Additional information:

MindFreeze commented 4 months ago

This must be your custom CSS. The .container element normally has padding: 16px

Floppe commented 4 months ago

Could be, but I don't recall setting that anywhere and cannot find it either. I think this happened recently, several months since I did the CSS.

Fixed it for myself by adding in card-mod: .container.with-header { padding-top: 6px !important; }

otherwise it's 0.

If no others are affected, then perhaps close this issue. Thanks again for a great component!

MindFreeze commented 4 months ago

My bad. Found the issue and it is not your CSS :)