thomasloven / lovelace-layout-card

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

Fix for HA 2023.4 #242

Open piitaya opened 1 year ago

piitaya commented 1 year ago

HA views use padding for vertical spacing instead of margin (Source: https://github.com/home-assistant/frontend/blob/dev/src/panels/lovelace/views/hui-masonry-view.ts#L300) Using margin generate additional scrollbar with the 2023.4 update. This PR use padding by default to be close to the built-in HA views.