Set the height of a card

I use a button like frontend HMI, not using sections, and previously I could set the height of each card (most of them custom button card or markdown card) using card-mod:

    card_mod:
      style: |
        ha-card {
          height: 100px !important;
          line-height: 150%;
        }

now is not working anymore.

Any idea how to get custom height?

Thank you in advance.

custom:button-card - NOTE that card-mod not needed here since the card has it’s own way for styling:

markdown:

Suggest to ask all card-mod related questions in the main card-mod thread (less clutter in the forum).