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

Card stretches to height of vertical stack #757

Open
ssillen opened this issue Jun 12, 2024 · 1 comment
Open

Card stretches to height of vertical stack #757

ssillen opened this issue Jun 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ssillen
Copy link

ssillen commented Jun 12, 2024

Before submitting a bug

[X] I updated to the latest version available
[X] I cleared the cache of my browser

Describe the bug

I have the vacuum-card in a vertical stack. The bottom of the card stretches to fit the vertical stack.

Steps to reproduce

  1. In a dashboard, create a horizontal stack
  2. In the horizontal stack, create two vertical stacks
  3. In one vertical stack, add the vacuum-card
  4. In the second vertical stack, add cards until the total height is more than the vacuum-card
  5. The vacuum card stretches to fill the vertical stack

Expected behavior
The height of the card is dependent on the contents, not the environment

Screenshots
image

Versions:

  • Release: [e.g. 2.9.3]
  • Browser: [chrome]
  • HomeAssistant version: [2024.6.1]
@ssillen ssillen added the bug Something isn't working label Jun 12, 2024
@ssillen
Copy link
Author

ssillen commented Jun 19, 2024

A workaround I found is to put the vacuum-card in a separate (nested) vertical stack.

- type: vertical-stack
  cards:
    - type: vertical-stack
      cards:
        - type: custom:vacuum-card
          entity: vacuum.wall_e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant