benct / lovelace-multiple-entity-row

Show multiple entity states and attributes on entity rows in Home Assistant's Lovelace UI
MIT License
813 stars 63 forks source link

Vertical Alignment #261

Open stevewrightnz opened 2 years ago

stevewrightnz commented 2 years ago

Hi, I would like to align the bottom of the text on the line that starts with Next Due.

It is implied that CSS is allowed using:

styles:
  text-align: left

which works :) however if you use vertical-align: bottom nothing appears to happen.

image

ildar170975 commented 2 years ago

The "styles" option does not work here. It works for this particular element - i.e. this particular "div", it has a very limited purpose. The vertical alignment in your case must be controlled on the "flex" level - i.e. on the whole row level. This may be achieved by using card-mod only.

Your issue is neither a bug nor a feature request. I propose you to ask similar questions in a dedicated community thread and leave Github for bugs & FRs.