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

[Bug]: Light Card space when is collapsed #1455

Open
3 tasks done
joelmora opened this issue Jun 19, 2024 · 1 comment
Open
3 tasks done

[Bug]: Light Card space when is collapsed #1455

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

Comments

@joelmora
Copy link

Requirements

  • I checked the troubleshooting section in the README to verify that I have the latest Mushroom version.
  • I did a search to see if there is a similar issue or if a pull request is open.
  • I have read the state of card mod support (in pin issues) and understand card mod support is not provided in this repository.

Current Behavior

I got a Light Card with these configuration:

Color control = On
Collapse controls when off

image

The preview card looks and works fine but when you put it inside the UI it will expand its height showing an empty space at the bottom:

Screenshot 2024-06-19 at 10 07 24

It has something to do with its height, if height: auto will work fine, but currently it's conflicting with another css:

Screenshot 2024-06-19 at 10 11 15

Screenshot 2024-06-19 at 10 12 37

Expected Behavior

The Light card will collapse when is off not leaving any space at the bottom if used on a card

Steps To Reproduce

  1. Create a Light Card with Color control = On and Collapse controls when off
  2. Put it on a UI section
  3. Turn off the light

Context

YAML state

Environment

- Browser: Chrome Version 126.0.6478.61
- HA Version: 2024.5.4
- Mushroom: 3.6.2

Anything else?

No response

@joelmora joelmora added the bug Something isn't working label Jun 19, 2024
@FlyGuye10
Copy link

I'm having this issue too suddenly today. How can we fix this?

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

2 participants