Closed MikeGuest closed 2 years ago
👋
I think you just need to change your layout_type
in the tiles/l-menu-test.yaml
file from:
- type: custom:layout-card
layout_type: grid
layout:
...
cards:
to
- type: custom:layout-card
layout_type: custom:grid-layout
layout:
...
cards:
p.s. spaces in files names can be unpredictable depending on the operating system. Best to always use _
or -
instead.
CSS grids do not support putting multiple elements in the same grid area.
My Home Assistant version: 2021.11.5
Layout-card version (FROM BROWSER CONSOLE): 2.3.1
What I am doing:
I separate my yaml lovelace files into dashboard, panel, and tiles files using includes (for re-usability of forms within different dashboards). the dashboards are defined in configuration.yaml
What I expected to happen:
both buttons displayed in the grid on 1 row, one 50px (home1) and one at 100px (home2)
What happened instead:
I see only home2 at 100px - adding additional buttons shows only the last defined button of that type If separate areas are defined (test1, test2) then the buttons display separately as expected. The docs suggest to me that I shouldn't need to do this however.
Minimal steps to reproduce:
configuration.yaml
dashboards/lovelace-l-panel test custom.yaml
tiles/l-menu-test.yaml
End of code
Error messages from the browser console: not sure where to find this - can't see anything in the homeassistant logs. No errors visible on the screen - just buttons that don't render
By putting an X in the boxes ([X]) below, I indicate that I: