Clooos / Bubble-Card

Bubble Card is a minimalist card collection for Home Assistant with a nice pop-up touch.
MIT License
1.44k stars 39 forks source link

0 height rows showing in vertical stack #608

Open GewoonRoy opened 4 days ago

GewoonRoy commented 4 days ago
          Hi,

I am using v2.0.4 with HA 2024.6.X and i'm experiencing an issue just like this. I've tried several options to fix it but haven't been able to.

Can you help me with what i'm possibly doing wrong? I've noticed the #root of the hui-vertical-stack-card is using a gap of 8px for each element within the stack-card which creates a lot of space.

I've have a vertical stack with a lot of vertical stacks in it.

Screenshot 2024-06-28 at 09 41 26
type: vertical-stack
cards:
  - type: vertical-stack
    cards:
      - type: custom:button-card
         name: Woonkamer
         ...
  - type: vertical-stack
     cards:
      - type: custom:bubble-card
         card_type: pop-up
         hash: '#living-room'
         auto_close: '30000'
         name: Woonkamer
  - type: vertical-stack
     cards:
       - type: custom:bubble-card
          card_type: pop-up
          hash: '#living-room-lights'
          auto_close: '30000'
          name: Woonkamer - Lampen
   - type: vertical-stack
     cards:
        - type: custom:bubble-card
           card_type: pop-up
           hash: '#living-room-curtains'
           auto_close: '30000'
           name: Woonkamer - Gordijnen
...some more cards

Originally posted by @GewoonRoy in https://github.com/Clooos/Bubble-Card/issues/268#issuecomment-2196345051