Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SUPPORT] Help with layout? #297

Open
deanfourie1 opened this issue Jul 6, 2024 · 1 comment
Open

[SUPPORT] Help with layout? #297

deanfourie1 opened this issue Jul 6, 2024 · 1 comment

Comments

@deanfourie1
Copy link

So this is more of a request for help with a layout, I have been struggling to get a specific layout working and have posted in quite a few places and no one can help me.

I am trying to make a layout like this. Is not to scale but its basically a weather dashboard that I want to have a large card in the middle, which will be a weather radar and then all other rain, wind cards etc positioned around that card.

Untitled

Is anyone able to help me with this layout please?

Thank you very much!

@red4dj
Copy link

red4dj commented Jul 14, 2024

I did not test this, but I believe it would be the following:

type: custom:layout-card
layout_type: custom:grid-layout
cards:
  - type: ...
    view_layout:
      grid-area: a
  - type: ...
    view_layout:
      grid-area: b
  - type: ...
    view_layout:
      grid-area: main
  ...
layout:
  grid-template-areas: |
    "a b c d"
    "e main main f"
    "g h i j"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants