fufar / simple-clock-card

Simple clock card for Home assistant lovelace
49 stars 23 forks source link

Font not scaling #15

Closed MikeGuest closed 3 years ago

MikeGuest commented 3 years ago

Font does not scale with background, leading to text over-shooting the tile

snip

fufar commented 3 years ago

you tryed change font_size and padding_size options?

DutchJaFO commented 3 years ago

I had that problem when using the card as part of a grid card (3 columns, 2 rows). Solution was using a vertical stack instead of trying to place it in the same grid. It isn't pretty, but it does work. image

Ideally the text on the card should fit the available space without having to specifiy font size every time the card is used.