question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Only one column of cards is displayed

See original GitHub issue

Often (not always) only one column of cards is displayed when I switch between views. I must then refresh the page or turn on the HA sidebar for a moment or switch view so that the number of columns returns to normal. I have cleaned the browser cache many times. Any solution for that?

HA: 0.89.2 layout-card: 226f86 browser: Chrome/Opera/Firefox

Incorrect view with one column:

image

My config:

title: 'Dom'
views:
  - id: home
    icon: mdi:home
    title: 'Pomieszczenia'
    background: '#e5e5e5 / center / cover no-repeat url("/local/pictures/bg.jpg") fixed'
    path: home
    panel: true
    cards:
      - type: custom:layout-card
        cards:
          - ...
          - ...
  - id: network
    icon: mdi:ethernet
    title: 'Sieć'
    background: '#e5e5e5 / center / cover no-repeat url("/local/pictures/bg.jpg") fixed'
    path: network
    panel: true
    cards:
      - type: custom:layout-card
        cards:
          - ...
          - ...

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
thomaslovencommented, Oct 23, 2020

No. Your problem is an entirely different one caused by not realizing that layout-card is a card with all that entails. See https://github.com/thomasloven/lovelace-layout-card#layouts

1reaction
bieniucommented, Jan 8, 2020

Fixed via version 8.

Read more comments on GitHub >

github_iconTop Results From Across the Web

reactjs - Three cards in a row instead of all cards in one column
reactjs - Three cards in a row instead of all cards in one column - Stack Overflow. Stack Overflow for Teams – Start...
Read more >
Cards - Bootstrap
Use card groups to render cards as a single, attached element with equal width and height columns. Card groups use display: flex; to...
Read more >
How To Create Column Cards - W3Schools
Learn how to create responsive column cards with CSS. ... display: table; ... Responsive columns - one column layout (vertical) on small screens...
Read more >
Bootstrap Card columns - free examples & tutorial
Use class .row-cols to control how many grid columns (wrapped around your cards) you show per row. Here's .row-cols-3 laying out the cards...
Read more >
Card View | Smartsheet Learning Center
The title of a card will always be the field value for the sheet's Primary Column. · Fields on the card display information...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found