wassy92x / lovelace-digital-clock

A custom digital clock card for Home Assistant
MIT License
96 stars 17 forks source link

How to align text ? #26

Closed defoortk closed 1 year ago

defoortk commented 1 year ago

Hi! Love the clock! I would like to align it to the left so the time is sitting in the upper left corner of my dashboard. I already managed to make it transparent using card-mod however I can’t seem to change the text alignment. Thanks !

defoortk commented 1 year ago

Found it ! thanks to the Text Height solution mentioned using card-mod I simply added a text-align:left; and it worked !