kalkih / mini-graph-card

Minimalistic graph card for Home Assistant Lovelace UI
MIT License
3.05k stars 237 forks source link

Feature Request: Add state_padding option to assist in reducing empty space. #801

Closed ghost closed 2 years ago

ghost commented 2 years ago

state-padding

It would be great if we could adjust the padding around the state value as shown at the top of the card. The mini-graph-card is brilliant for showing a lot of detail in a small card. If we had the option of tightening up some of the padding we could fit even more into the space. Alternatively, maybe separate options for font_size and extrema_font_size, as currently they both scale which prevents setting this too small and making the extrema values unreadable.

ildar170975 commented 2 years ago

Alternatively, maybe separate options for font_size and extrema_font_size,

https://github.com/kalkih/mini-graph-card/issues/752

adjust the padding around the state value

Why only padding? Changing margin may be useful too: image

Actually, list of possible CSS improvements is unlimited - that is why sometimes it is better to use card-mod than adding more & more options to the card.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this is still an active issue, please let us know!