🔹 Card-mod - Add css styles to any lovelace card

Warning:
there was a FR about increasing a “touch area” for hui-generic-entity-row.
PR was created.
These changes caused this issue which was fixed in this PR.
But this PR caused another glitch, and another fix was made.

So, hopefully instead of these “touch areas”:
изображение
we will have these areas:
изображение

I honestly did not care about the initial FR.
But since the 1st PR was made (and approved) - wanted to improve it (or at least to fix glitches). So, this is a new (hopefully better) reality.

Why it is written in this thread?

  1. These changes may affect current styles somehow.
  2. The “hui-generic-entity-row” is a part of many custom cards (fold-entity-row, multiple-entity-row). Let’s hope that nothing will be broken. If it would - get ready to fix it by card-mod (or wait for the plugins’ authors).