Open red4dj opened 1 month ago
My Home Assistant version: 2024.7.1
Layout-card version (FROM BROWSER CONSOLE): 2.4.5
What I am doing: Adding the card_margin property to a grid-layout
What I expected to happen: Apply 0px margin to each card in grid layout.
What happened instead: No custom margin was applied. The cards kept the default margin.
Minimal steps to reproduce:
type: custom:layout-card layout_type: custom:grid-layout cards: - type: entity entity: sensor.time view_layout: grid-area: main - type: entity entity: sensor.date view_layout: grid-area: sidebar layout: grid-template-columns: 33% auto grid-template-areas: | "main sidebar" margin: 0px card_margin: 0px
Error messages from the browser console: N/A
By putting an X in the boxes ([X]) below, I indicate that I:
Looks like a duplicate of #292
Can confirm. card_margin is not working
add:
masonry-view-card-margin: "0"
to your theme yaml
Also appears this add on is no longer being maintained.
My Home Assistant version: 2024.7.1
Layout-card version (FROM BROWSER CONSOLE): 2.4.5
What I am doing: Adding the card_margin property to a grid-layout
What I expected to happen: Apply 0px margin to each card in grid layout.
What happened instead: No custom margin was applied. The cards kept the default margin.
Minimal steps to reproduce:
Error messages from the browser console: N/A
By putting an X in the boxes ([X]) below, I indicate that I: