custom-cards / button-card

❇️ Lovelace button-card for home assistant
MIT License
1.97k stars 242 forks source link

Layout option not working #786

Open TwoPlayer opened 1 year ago

TwoPlayer commented 1 year ago

Checklist

Describe the bug I don't know, if I missunderstand the configuration, but I created a button with the layout icon_name, but the button don't formatted the way it should. The icon is still above the name instead aligned horizontal.

Version of the card Version: 4.1.1

To Reproduce This is the configuration I used:

type: button
name: Karte
icon: mdi:map
show_name: true
show_icon: true
show_state: false
layout: icon_name
tap_action:
  action: navigate
  navigation_path: '#map'

Screenshots grafik

Expected behavior The icon and the name are aligned horizontal.

Desktop (please complete the following information):

Smartphone (please complete the following information):