thomasloven / lovelace-layout-card

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

2.1.0 - max_width does not function #114

Closed matejdro closed 3 years ago

matejdro commented 3 years ago

I have installed new version of the Layout card. My goal is to replicate this setup from old layout card where every column was exactly 300 px wide:

type: 'custom:layout-card'
layout: horizontal
column_width: 300px

From what I see, this should work with the new layout card:

type: 'custom:horizontal-layout'
layout:
  width: 300
  max_width: 300

However, max_width does not appear to work. Card will generate 3 very wide columns (around 450px each):

image