bernikr / lovelace-notify-card

Send notifications directly from the dashboard
MIT License
45 stars 16 forks source link

Padding when there is no label #24

Open philmale opened 8 months ago

philmale commented 8 months ago

When there is no label the padding needs adjusting, card_mod will do the trick like this.

type: custom:notify-card
target: script.send_mqtt_announcement
label: Announcement text
card_title: false
card_mod:
  style: |
    notify-card > ha-card {
      padding: 16px 0px 0px 16px;
    }