Consider this code for a custom layout-card:
type: custom:layout-card
layout_type: custom:grid-layout
layout:
grid-template-columns: 50% auto
cards:
- type: history-graph
entities:
- sun.sun
- type: history-graph
entities:
- sun.sun
The “50% auto” layout is supposed to be treated as “50/50”, right?
And this is what I see in Editor:
But not what I see in a view:
Observed in Chrome 131.0.6778.265 (Win10), FF 133.0.3 (Win10). iOS Companion App (iOS 15.x).
Have to define “50% 50%” explicitly - then it gives a desired effect:
Interestingly this glitch does not occur with Entities card:
And with Glance card:
Created this issue in layout-card repo.
But may be it should be solved in Frontend, not sure.
The “auto” value works for Entities card, but not for History-graph.
That is why I created this post in “Configuration - Frontend” section instead of a dedicated layout-card thread - I have a very very very tiny hope that someone from HA dev team will notice it (and a much smaller hope that will react).
Same glitch with Markdown:
Created an issue in Frontend with the same tine hope.