thomasloven / lovelace-layout-card

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

Support for sections (wider/width) #302

Open Kalfany opened 2 months ago

Kalfany commented 2 months ago

I rebuilt my old dashboard (masonry layout) with the new sections. The only thing I’m currently missing is the ability to adjust the (overall) column width of the sections. In the old dashboard I did this to make the columns wider and cards a bit bigger.

image

Would something like that also be possible for the sections? I have 3 columns, but there’s quite a bit of empty space on the left and right sides.

CMDR-Sloma commented 2 weeks ago

This would be fantastic for desktops, the only one thing that stops me from going to sections layout.

majkers commented 4 days ago

I personally miss one more thing. Ability to fix the order of cards in different resolution. Eg.

grid-template-columns: 1% 27% 27% 44% 1%
grid-template-rows: auto
grid-template-areas: |
  ". left center right ."
mediaquery:
  "(max-width: 600px)":
    grid-template-columns: 100%
    grid-template-areas: |
      "left"
      "right"
      "center"
  "(max-width: 1024px)":
    grid-template-columns: 50% 50%
    grid-template-areas: |
      "left center"
      "right right"
  "(max-width: 1366px)":
    grid-template-columns: 28% 28% 44%
    grid-template-areas: |
      "left center right"