thomasloven / lovelace-layout-card

🔹 Get more control over the placement of lovelace cards.
MIT License
1.05k stars 125 forks source link

Stretching the icons in the lovelace-layout-card view dashboard #172

Closed MiAutomations closed 2 years ago

MiAutomations commented 2 years ago

Hello

I'm trying to stretching the icons present in this card in order to fulfilled all the dashboard in bigger view but I cant understand how to do this

The code

type: horizontal-stack
cards:
  - type: custom:layout-card
    layout_type: custom:horizontal-layout
    title: Reolink
    cards:
      - type: horizontal-stack
        cards:
          - type: custom:button-card
            aspect_ratio: 2/1
            show_live_stream: true
            title: Reolink
            entity: camera.reolink01
            show_name: false
            styles:
              icon:
                - width: 100%
                - margin-left: 0%
          - type: custom:button-card
            aspect_ratio: 2/1
            show_live_stream: true
            title: Reolink
            entity: camera.reolink01
            show_name: false
            styles:
              icon:
                - width: 100%
                - margin-left: 0%

image

Can some one please help me in order to fix this ?

Thank you and best regards

thomasloven commented 2 years ago

Github issues are not for usage support. Please refer to the Home Assistant forums, or better yet the README file.