Dashboard "panel" layout

Hi all,

recently I built a dashboard choosing the panel layout.
But I noted that the cards on the margin of the dashboard have no … margin, i.e. they lay attacked to every margin.

So I saw that if I click on the pencil of the dashboard I have this message:


Studying that link I read that there is the chance to apply the same margin to the entire layout of the dashboard if I use the option:

margin: 15px 15px 15px 15px

Then I applied this write it in the dialogue box:


But unfortunately nothing happens and the cards still are on the margins on every sides of the panel.
What do I have to do to get what I want?

Test out something like this

type: custom:layout-card
    layout_type: custom:grid-layout
      grid-template-columns: 1fr 1fr 
      margin: 15px 15px 15px 15px
1 Like

I actually had the same issue but never cared to search / ask :wink:

I tried this but it didn’t work.


I fixed converting the dashboard from “Panel” to “Grid (layout-card)” type, then in that dialogue box I simply write:

margin: 15px 15px 15px 15px