#Need a card to set custom column widths

1 messages · Page 1 of 1 (latest)

sacred delta
#

Not sure if #1284965988642590891 is the correct location, but since this is part of the dashboard set-up I figured to ask it here.

Relatively easy question. I have a grid card configuration to show multiple buttons, but one side needs more space then the other. Is it somehow possible to change the grid spacing? Ideally, I'd want to give the left button 75% and the right on 25% or something like that.

red brook
#

I'd suggest the layout-card. It's not the easiest to configure but will do exactly what you need it to do and should be an easy replacement from the grid card. ```yaml
type: custom:layout-card
layout_type: custom:grid-layout
layout_options:
width: 100
layout:
grid-template-columns: 75% 25%
grid-template-rows: auto
cards:

  • type: custom:mushroom-entity-card
    entity: cover.garage_door
  • type: button
    show_name: false
    icon: mdi:star
  • type: custom:mushroom-entity-card
    entity: cover.garage_door
  • type: button
    show_name: false
    icon: mdi:star